Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001433/0.001433, allocations: 114.3 kB / 18.94 MB, free: 2.957 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001711/0.001711, allocations: 220.1 kB / 22.26 MB, free: 5.117 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.434/1.434, allocations: 230.6 MB / 256 MB, free: 8.016 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.097/3.097, allocations: 0.49 GB / 0.7951 GB, free: 33.2 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal,fileNamePrefix="Buildings_12_Buildings_Fluid_FMI_Conversion_Validation_AirToOutletFlowReversal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal,fileNamePrefix="Buildings_12_Buildings_Fluid_FMI_Conversion_Validation_AirToOutletFlowReversal",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002008/0.002008, allocations: 72.61 kB / 1.154 GB, free: 25.68 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3264/0.3284, allocations: 176.1 MB / 1.326 GB, free: 1.93 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal): time 0.2977/0.6261, allocations: 254.2 MB / 1.574 GB, free: 2.832 MB / 1.264 GB Notification: Performance of NFInst.instExpressions: time 0.02918/0.6553, allocations: 22.64 MB / 1.596 GB, free: 12.12 MB / 1.295 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001644/0.6569, allocations: 79.31 kB / 1.596 GB, free: 12.05 MB / 1.295 GB Notification: Performance of NFTyping.typeComponents: time 0.002818/0.6597, allocations: 0.9976 MB / 1.597 GB, free: 11.04 MB / 1.295 GB Notification: Performance of NFTyping.typeBindings: time 0.004196/0.6639, allocations: 1.532 MB / 1.599 GB, free: 9.504 MB / 1.295 GB Notification: Performance of NFTyping.typeClassSections: time 0.005127/0.669, allocations: 2.035 MB / 1.601 GB, free: 7.473 MB / 1.295 GB Notification: Performance of NFFlatten.flatten: time 0.0042/0.6732, allocations: 2.694 MB / 1.603 GB, free: 4.762 MB / 1.295 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001746/0.675, allocations: 0.9813 MB / 1.604 GB, free: 3.738 MB / 1.295 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003657/0.6786, allocations: 1.623 MB / 1.606 GB, free: 2.109 MB / 1.295 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001659/0.6803, allocations: 0.9533 MB / 1.607 GB, free: 1.152 MB / 1.295 GB Notification: Performance of NFPackage.collectConstants: time 0.0002051/0.6805, allocations: 108 kB / 1.607 GB, free: 1.047 MB / 1.295 GB Notification: Performance of NFFlatten.collectFunctions: time 0.7198/1.4, allocations: 1.832 MB / 1.609 GB, free: 9.176 MB / 1.295 GB Notification: Performance of NFScalarize.scalarize: time 0.0006918/1.401, allocations: 388.4 kB / 1.609 GB, free: 9.176 MB / 1.295 GB Notification: Performance of NFVerifyModel.verify: time 0.001118/1.402, allocations: 0.6403 MB / 1.61 GB, free: 9.176 MB / 1.295 GB Notification: Performance of NFConvertDAE.convert: time 0.004568/1.407, allocations: 2.365 MB / 1.612 GB, free: 9.055 MB / 1.295 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/1.407, allocations: 0 / 1.612 GB, free: 9.055 MB / 1.295 GB Notification: Performance of FrontEnd: time 1.864e-06/1.407, allocations: 0 / 1.612 GB, free: 9.055 MB / 1.295 GB Notification: Performance of Transformations before backend: time 2.292e-05/1.407, allocations: 0.7812 kB / 1.612 GB, free: 9.055 MB / 1.295 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 224 * Number of variables: 224 Notification: Performance of Generate backend data structure: time 0.002322/1.409, allocations: 1.44 MB / 1.613 GB, free: 8.32 MB / 1.295 GB Notification: Performance of prepare preOptimizeDAE: time 3.986e-05/1.409, allocations: 9.406 kB / 1.613 GB, free: 8.32 MB / 1.295 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001621/1.409, allocations: 144.2 kB / 1.614 GB, free: 8.281 MB / 1.295 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00113/1.41, allocations: 239 kB / 1.614 GB, free: 8.211 MB / 1.295 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001662/1.412, allocations: 0.8523 MB / 1.615 GB, free: 7.949 MB / 1.295 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001976/1.412, allocations: 290.1 kB / 1.615 GB, free: 7.695 MB / 1.295 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001391/1.412, allocations: 93.22 kB / 1.615 GB, free: 7.695 MB / 1.295 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001625/1.414, allocations: 0.9322 MB / 1.616 GB, free: 7.566 MB / 1.295 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.29e-05/1.414, allocations: 1.875 kB / 1.616 GB, free: 7.566 MB / 1.295 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.661e-05/1.414, allocations: 34.91 kB / 1.616 GB, free: 7.566 MB / 1.295 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.676e-05/1.414, allocations: 24.28 kB / 1.616 GB, free: 7.566 MB / 1.295 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001211/1.415, allocations: 0.6333 MB / 1.617 GB, free: 7.555 MB / 1.295 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005317/1.421, allocations: 4.373 MB / 1.621 GB, free: 20.86 MB / 1.311 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003693/1.421, allocations: 183.4 kB / 1.621 GB, free: 20.83 MB / 1.311 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001906/1.421, allocations: 140.4 kB / 1.621 GB, free: 20.82 MB / 1.311 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005925/1.422, allocations: 127 kB / 1.621 GB, free: 20.82 MB / 1.311 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.177e-05/1.422, allocations: 36.84 kB / 1.621 GB, free: 20.79 MB / 1.311 GB Notification: Performance of pre-optimization done (n=24): time 2.765e-06/1.422, allocations: 0 / 1.621 GB, free: 20.79 MB / 1.311 GB Notification: Performance of matching and sorting (n=24): time 0.001088/1.423, allocations: 481.3 kB / 1.622 GB, free: 20.69 MB / 1.311 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.156e-05/1.423, allocations: 63.09 kB / 1.622 GB, free: 20.62 MB / 1.311 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001657/1.425, allocations: 1.12 MB / 1.623 GB, free: 20.47 MB / 1.311 GB Notification: Performance of collectPreVariables (initialization): time 5.034e-05/1.425, allocations: 32.36 kB / 1.623 GB, free: 20.44 MB / 1.311 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004947/1.425, allocations: 0.5157 MB / 1.624 GB, free: 20.25 MB / 1.311 GB Notification: Performance of collectInitialBindings (initialization): time 8.705e-05/1.425, allocations: 92.14 kB / 1.624 GB, free: 20.19 MB / 1.311 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002044/1.425, allocations: 96.78 kB / 1.624 GB, free: 20.17 MB / 1.311 GB Notification: Performance of setup shared object (initialization): time 0.0001656/1.426, allocations: 323.7 kB / 1.624 GB, free: 19.86 MB / 1.311 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002943/1.426, allocations: 127.3 kB / 1.624 GB, free: 19.86 MB / 1.311 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004762/1.426, allocations: 383.8 kB / 1.625 GB, free: 19.58 MB / 1.311 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006676/1.427, allocations: 469.5 kB / 1.625 GB, free: 19.36 MB / 1.311 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.165e-06/1.427, allocations: 2.953 kB / 1.625 GB, free: 19.36 MB / 1.311 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001222/1.428, allocations: 0.5464 MB / 1.625 GB, free: 19.27 MB / 1.311 GB Notification: Performance of prepare postOptimizeDAE: time 2.94e-05/1.428, allocations: 12.11 kB / 1.625 GB, free: 19.27 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.384e-05/1.428, allocations: 7.375 kB / 1.626 GB, free: 19.27 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.701e-05/1.428, allocations: 9.062 kB / 1.626 GB, free: 19.27 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004395/1.429, allocations: 91.44 kB / 1.626 GB, free: 19.27 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.539e-05/1.429, allocations: 14.92 kB / 1.626 GB, free: 19.27 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008345/1.43, allocations: 99.59 kB / 1.626 GB, free: 19.21 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.007e-05/1.43, allocations: 26.52 kB / 1.626 GB, free: 19.21 MB / 1.311 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (48): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004834/1.43, allocations: 286.8 kB / 1.626 GB, free: 19.1 MB / 1.311 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000181/1.43, allocations: 112.3 kB / 1.626 GB, free: 19.04 MB / 1.311 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009589/1.431, allocations: 425.9 kB / 1.627 GB, free: 18.97 MB / 1.311 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-05/1.431, allocations: 4.453 kB / 1.627 GB, free: 18.97 MB / 1.311 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.361e-06/1.431, allocations: 0.5 kB / 1.627 GB, free: 18.97 MB / 1.311 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.783e-06/1.431, allocations: 2.641 kB / 1.627 GB, free: 18.97 MB / 1.311 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002947/1.434, allocations: 1.537 MB / 1.628 GB, free: 18.54 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.017e-05/1.434, allocations: 4.406 kB / 1.628 GB, free: 18.54 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001704/1.435, allocations: 43.73 kB / 1.628 GB, free: 18.54 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.618e-06/1.435, allocations: 7.281 kB / 1.628 GB, free: 18.54 MB / 1.311 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.193e-05/1.435, allocations: 10.67 kB / 1.628 GB, free: 18.54 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.632e-06/1.435, allocations: 9.672 kB / 1.628 GB, free: 18.54 MB / 1.311 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.881e-06/1.435, allocations: 7.75 kB / 1.628 GB, free: 18.54 MB / 1.311 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006908/1.435, allocations: 0.5844 MB / 1.629 GB, free: 18.2 MB / 1.311 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003809/1.436, allocations: 163.8 kB / 1.629 GB, free: 18.14 MB / 1.311 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000126/1.436, allocations: 13.03 kB / 1.629 GB, free: 18.14 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004095/1.436, allocations: 17.27 kB / 1.629 GB, free: 18.14 MB / 1.311 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.061e-05/1.436, allocations: 31.05 kB / 1.629 GB, free: 18.14 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.499e-05/1.436, allocations: 16.44 kB / 1.629 GB, free: 18.14 MB / 1.311 GB Notification: Performance of sorting global known variables: time 0.001028/1.437, allocations: 0.784 MB / 1.63 GB, free: 18.03 MB / 1.311 GB Notification: Performance of sort global known variables: time 9e-08/1.437, allocations: 0.9062 kB / 1.63 GB, free: 18.03 MB / 1.311 GB Notification: Performance of remove unused functions: time 0.001009/1.438, allocations: 292.7 kB / 1.63 GB, free: 17.99 MB / 1.311 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001342/1.44, allocations: 1.322 MB / 1.631 GB, free: 17.11 MB / 1.311 GB Notification: Performance of simCode: created initialization part: time 0.0006185/1.44, allocations: 332.8 kB / 1.632 GB, free: 17.11 MB / 1.311 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/1.44, allocations: 2.562 kB / 1.632 GB, free: 17.11 MB / 1.311 GB Notification: Performance of simCode: created simulation system equations: time 0.0001918/1.44, allocations: 138.8 kB / 1.632 GB, free: 17.11 MB / 1.311 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002209/1.443, allocations: 0.5213 MB / 1.632 GB, free: 17.06 MB / 1.311 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009545/1.452, allocations: 7.478 MB / 1.64 GB, free: 14.41 MB / 1.311 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008582/1.453, allocations: 1.068 MB / 1.641 GB, free: 13.71 MB / 1.311 GB Notification: Performance of simCode: alias equations: time 0.0008007/1.454, allocations: 200.4 kB / 1.641 GB, free: 13.69 MB / 1.311 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003892/1.454, allocations: 365 kB / 1.641 GB, free: 13.68 MB / 1.311 GB Notification: Performance of SimCode: time 9.12e-07/1.454, allocations: 5.094 kB / 1.641 GB, free: 13.68 MB / 1.311 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06263/1.517, allocations: 28.54 MB / 1.669 GB, free: 11.28 MB / 1.311 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.7/15.22, allocations: 13.58 kB / 1.669 GB, free: 11.27 MB / 1.311 GB " [Timeout remaining time 285] (rm -f Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe ; mkfifo Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe >> ../files/Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_FMI_Conversion_Validation_AirToOutletFlowReversal_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_FMI_Conversion_Validation_AirToOutletFlowReversal.fmu > Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_FMI_Conversion_Validation_AirToOutletFlowReversal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 21.757722648093477]