Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001301/0.001301, allocations: 115.5 kB / 17.08 MB, free: 5.988 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001826/0.001826, allocations: 194.2 kB / 20.03 MB, free: 3.059 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.496/1.496, allocations: 222.9 MB / 245.7 MB, free: 4.227 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.729/2.729, allocations: 437 MB / 0.7177 GB, free: 4.625 MB / 0.5606 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conAirNoC.outlet.m_flow|conAirWithC.outlet.m_flow|conDryAirNoC.outlet.m_flow|conDryAirWithC.outlet.m_flow|conAirNoC.outlet.forward.T|conAirWithC.outlet.forward.T|conDryAirNoC.outlet.forward.T|conDryAirWithC.outlet.forward.T|conAirNoC.outlet.forward.X_w|conAirWithC.outlet.forward.X_w|conAirWithC.outlet.forward.C.1.|conDryAirWithC.outlet.forward.C.1.|conAirNoC.TAirZon|conAirWithC.TAirZon|conDryAirNoC.TAirZon|conDryAirWithC.TAirZon|conAirNoC.X_wZon|conAirWithC.X_wZon|conAirWithC.CZon.1.|conDryAirWithC.CZon.1.",fileNamePrefix="Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal") translateModel(Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conAirNoC.outlet.m_flow|conAirWithC.outlet.m_flow|conDryAirNoC.outlet.m_flow|conDryAirWithC.outlet.m_flow|conAirNoC.outlet.forward.T|conAirWithC.outlet.forward.T|conDryAirNoC.outlet.forward.T|conDryAirWithC.outlet.forward.T|conAirNoC.outlet.forward.X_w|conAirWithC.outlet.forward.X_w|conAirWithC.outlet.forward.C.1.|conDryAirWithC.outlet.forward.C.1.|conAirNoC.TAirZon|conAirWithC.TAirZon|conDryAirNoC.TAirZon|conDryAirWithC.TAirZon|conAirNoC.X_wZon|conAirWithC.X_wZon|conAirWithC.CZon.1.|conDryAirWithC.CZon.1.",fileNamePrefix="Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001981/0.001982, allocations: 71.88 kB / 1.028 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3444/0.3464, allocations: 151.6 MB / 1.176 GB, free: 5.93 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal): time 0.9954/1.342, allocations: 249 MB / 1.419 GB, free: 5.418 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.02903/1.371, allocations: 22.27 MB / 1.441 GB, free: 3.363 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002559/1.373, allocations: 52.34 kB / 1.441 GB, free: 3.344 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.003324/1.377, allocations: 0.9705 MB / 1.442 GB, free: 2.492 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.004973/1.382, allocations: 1.468 MB / 1.443 GB, free: 1.324 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.005594/1.387, allocations: 1.94 MB / 1.445 GB, free: 15.86 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.004994/1.392, allocations: 2.698 MB / 1.448 GB, free: 13.58 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00271/1.395, allocations: 1.321 MB / 1.449 GB, free: 12.23 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003947/1.399, allocations: 1.339 MB / 1.45 GB, free: 10.89 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001936/1.401, allocations: 0.9143 MB / 1.451 GB, free: 9.969 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0002454/1.401, allocations: 108 kB / 1.451 GB, free: 9.863 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004496/1.406, allocations: 1.676 MB / 1.453 GB, free: 8.184 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0006045/1.407, allocations: 371 kB / 1.453 GB, free: 7.82 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.001115/1.408, allocations: 0.6454 MB / 1.454 GB, free: 7.172 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.005268/1.413, allocations: 2.281 MB / 1.456 GB, free: 4.883 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/1.413, allocations: 0 / 1.456 GB, free: 4.883 MB / 1.107 GB Notification: Performance of FrontEnd: time 3.707e-06/1.413, allocations: 4 kB / 1.456 GB, free: 4.879 MB / 1.107 GB Notification: Performance of Transformations before backend: time 2.765e-05/1.413, allocations: 3.938 kB / 1.456 GB, free: 4.875 MB / 1.107 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.002603/1.416, allocations: 1.509 MB / 1.458 GB, free: 3.312 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.577e-05/1.416, allocations: 12.03 kB / 1.458 GB, free: 3.301 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001136/1.417, allocations: 231 kB / 1.458 GB, free: 3.074 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00177/1.419, allocations: 0.9241 MB / 1.459 GB, free: 2.105 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002056/1.419, allocations: 188.8 kB / 1.459 GB, free: 1.898 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001214/1.419, allocations: 88 kB / 1.459 GB, free: 1.812 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00164/1.421, allocations: 0.9362 MB / 1.46 GB, free: 0.8398 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.319e-05/1.421, allocations: 0 / 1.46 GB, free: 0.8398 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.828e-05/1.421, allocations: 39.94 kB / 1.46 GB, free: 0.8008 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.988e-05/1.421, allocations: 20 kB / 1.46 GB, free: 0.7812 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001255/1.422, allocations: 0.6324 MB / 1.461 GB, free: 152 kB / 1.107 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.005528/1.428, allocations: 4.44 MB / 1.465 GB, free: 11.31 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004337/1.428, allocations: 190.7 kB / 1.465 GB, free: 11.12 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002224/1.428, allocations: 146.9 kB / 1.465 GB, free: 10.97 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001298/1.43, allocations: 1.017 MB / 1.466 GB, free: 9.734 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.867e-05/1.43, allocations: 30.56 kB / 1.466 GB, free: 9.695 MB / 1.123 GB Notification: Performance of pre-optimization done (n=24): time 1.953e-06/1.43, allocations: 0 / 1.466 GB, free: 9.695 MB / 1.123 GB Notification: Performance of matching and sorting (n=24): time 0.001213/1.431, allocations: 488.4 kB / 1.467 GB, free: 9.211 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.837e-05/1.431, allocations: 55.41 kB / 1.467 GB, free: 9.145 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001766/1.433, allocations: 1.106 MB / 1.468 GB, free: 8.023 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 7.31e-05/1.433, allocations: 29.7 kB / 1.468 GB, free: 7.988 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006806/1.433, allocations: 0.5165 MB / 1.468 GB, free: 7.469 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001237/1.434, allocations: 91.22 kB / 1.469 GB, free: 7.379 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002464/1.434, allocations: 102 kB / 1.469 GB, free: 7.273 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0002034/1.434, allocations: 318 kB / 1.469 GB, free: 6.957 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002953/1.434, allocations: 136.8 kB / 1.469 GB, free: 6.82 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006316/1.435, allocations: 379.1 kB / 1.469 GB, free: 6.34 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007669/1.436, allocations: 471.5 kB / 1.47 GB, free: 5.793 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.031e-05/1.436, allocations: 8 kB / 1.47 GB, free: 5.785 MB / 1.123 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001381/1.437, allocations: 0.5399 MB / 1.47 GB, free: 5.238 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 4.406e-05/1.437, allocations: 11.94 kB / 1.47 GB, free: 5.227 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.108e-05/1.437, allocations: 4 kB / 1.47 GB, free: 5.223 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.668e-05/1.437, allocations: 8 kB / 1.47 GB, free: 5.215 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000444/1.438, allocations: 91.83 kB / 1.471 GB, free: 5.125 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.414e-05/1.438, allocations: 15.94 kB / 1.471 GB, free: 5.109 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008852/1.439, allocations: 95.27 kB / 1.471 GB, free: 5.016 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.472e-05/1.439, allocations: 24 kB / 1.471 GB, free: 4.992 MB / 1.123 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.0006479/1.439, allocations: 297.6 kB / 1.471 GB, free: 4.691 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002043/1.44, allocations: 111.2 kB / 1.471 GB, free: 4.582 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009203/1.441, allocations: 422.9 kB / 1.471 GB, free: 4.16 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.32e-05/1.441, allocations: 0 / 1.471 GB, free: 4.16 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/1.441, allocations: 0 / 1.471 GB, free: 4.16 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.456e-06/1.441, allocations: 4 kB / 1.471 GB, free: 4.156 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002824/1.443, allocations: 1.554 MB / 1.473 GB, free: 2.492 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-05/1.443, allocations: 8.5 kB / 1.473 GB, free: 2.484 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001867/1.444, allocations: 51.86 kB / 1.473 GB, free: 2.434 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.369e-05/1.444, allocations: 4 kB / 1.473 GB, free: 2.43 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.736e-05/1.444, allocations: 8 kB / 1.473 GB, free: 2.422 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.418e-05/1.444, allocations: 7.984 kB / 1.473 GB, free: 2.414 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.425e-05/1.444, allocations: 11.94 kB / 1.473 GB, free: 2.402 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000961/1.445, allocations: 0.5721 MB / 1.474 GB, free: 1.762 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005079/1.445, allocations: 240.3 kB / 1.474 GB, free: 1.508 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001225/1.445, allocations: 16.27 kB / 1.474 GB, free: 1.492 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004135/1.446, allocations: 15.98 kB / 1.474 GB, free: 1.477 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.501e-05/1.446, allocations: 27.86 kB / 1.474 GB, free: 1.449 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.423e-05/1.446, allocations: 16 kB / 1.474 GB, free: 1.434 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.001247/1.447, allocations: 0.7822 MB / 1.475 GB, free: 0.6445 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.11e-07/1.447, allocations: 0 / 1.475 GB, free: 0.6445 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.001089/1.448, allocations: 287.4 kB / 1.475 GB, free: 372 kB / 1.123 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.0007858/1.449, allocations: 341.1 kB / 1.475 GB, free: 32 kB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.0007174/1.45, allocations: 339.5 kB / 1.476 GB, free: 15.7 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 3.706e-06/1.45, allocations: 0 / 1.476 GB, free: 15.7 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0002271/1.45, allocations: 142 kB / 1.476 GB, free: 15.56 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002405/1.452, allocations: 0.5157 MB / 1.476 GB, free: 15.06 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002752/1.455, allocations: 1.648 MB / 1.478 GB, free: 13.31 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008052/1.456, allocations: 1.067 MB / 1.479 GB, free: 12.22 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002332/1.456, allocations: 71.42 kB / 1.479 GB, free: 12.15 MB / 1.139 GB Notification: Performance of SimCode: time 5.81e-07/1.456, allocations: 0 / 1.479 GB, free: 12.15 MB / 1.139 GB Notification: Performance of Templates: time 0.02994/1.486, allocations: 17.23 MB / 1.496 GB, free: 11.05 MB / 1.154 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe ; mkfifo Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe >> ../files/Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.sim & ./Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_FMI_Conversion_Validation_AirToOutletFlowReversal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 14.859159008017741]