Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.00176/0.00176, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.002343/0.002343, allocations: 222.6 kB / 23 MB, free: 4.914 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.535/1.535, allocations: 230.6 MB / 256.8 MB, free: 7.832 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.72/2.72, allocations: 476 MB / 0.7707 GB, free: 4.777 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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: 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_11_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_11_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal") [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.002167/0.002167, allocations: 68.02 kB / 1.118 GB, free: 41.09 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.357/0.3592, allocations: 170 MB / 1.284 GB, free: 11.99 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal): time 0.3038/0.663, allocations: 222.2 MB / 1.501 GB, free: 12.95 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.03212/0.6951, allocations: 20.56 MB / 1.521 GB, free: 8.332 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001869/0.6969, allocations: 75.31 kB / 1.521 GB, free: 8.258 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.003119/0.7001, allocations: 0.986 MB / 1.522 GB, free: 7.266 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.004739/0.7048, allocations: 1.511 MB / 1.523 GB, free: 5.75 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.005846/0.7107, allocations: 1.959 MB / 1.525 GB, free: 3.793 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.004533/0.7152, allocations: 2.69 MB / 1.528 GB, free: 1.09 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001884/0.7171, allocations: 0.954 MB / 1.529 GB, free: 104 kB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003342/0.7204, allocations: 1.401 MB / 1.53 GB, free: 14.7 MB / 1.232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001751/0.7222, allocations: 0.8947 MB / 1.531 GB, free: 13.8 MB / 1.232 GB Notification: Performance of NFPackage.collectConstants: time 0.0002357/0.7224, allocations: 108 kB / 1.531 GB, free: 13.69 MB / 1.232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003522/0.7259, allocations: 1.414 MB / 1.533 GB, free: 12.27 MB / 1.232 GB Notification: Performance of NFScalarize.scalarize: time 0.0006334/0.7266, allocations: 386.7 kB / 1.533 GB, free: 11.89 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.0008736/0.7274, allocations: 0.5095 MB / 1.533 GB, free: 11.38 MB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.00412/0.7315, allocations: 2.301 MB / 1.536 GB, free: 9.074 MB / 1.232 GB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.7316, allocations: 3.938 kB / 1.536 GB, free: 9.07 MB / 1.232 GB Notification: Performance of FrontEnd: time 2.574e-06/0.7316, allocations: 0 / 1.536 GB, free: 9.07 MB / 1.232 GB Notification: Performance of Transformations before backend: time 2.836e-05/0.7316, allocations: 0 / 1.536 GB, free: 9.07 MB / 1.232 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.002454/0.734, allocations: 1.436 MB / 1.537 GB, free: 7.602 MB / 1.232 GB Notification: Performance of prepare preOptimizeDAE: time 5.519e-05/0.7341, allocations: 8.031 kB / 1.537 GB, free: 7.594 MB / 1.232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001161/0.7353, allocations: 239.1 kB / 1.537 GB, free: 7.359 MB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001756/0.737, allocations: 0.8402 MB / 1.538 GB, free: 6.492 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002827/0.7373, allocations: 295.6 kB / 1.538 GB, free: 6.156 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001345/0.7374, allocations: 95.94 kB / 1.539 GB, free: 6.062 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001685/0.7391, allocations: 0.9324 MB / 1.539 GB, free: 5.094 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.743e-05/0.7391, allocations: 3.938 kB / 1.539 GB, free: 5.09 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.751e-05/0.7392, allocations: 39.98 kB / 1.54 GB, free: 5.051 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.05e-05/0.7392, allocations: 20 kB / 1.54 GB, free: 5.031 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001184/0.7404, allocations: 0.6284 MB / 1.54 GB, free: 4.406 MB / 1.232 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.004314/0.7447, allocations: 2.63 MB / 1.543 GB, free: 1.703 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004306/0.7452, allocations: 174.7 kB / 1.543 GB, free: 1.523 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002177/0.7454, allocations: 148.8 kB / 1.543 GB, free: 1.375 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006083/0.746, allocations: 123.9 kB / 1.543 GB, free: 1.254 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.171e-05/0.746, allocations: 38.56 kB / 1.543 GB, free: 1.207 MB / 1.232 GB Notification: Performance of pre-optimization done (n=24): time 2.384e-06/0.746, allocations: 0 / 1.543 GB, free: 1.207 MB / 1.232 GB Notification: Performance of matching and sorting (n=24): time 0.001086/0.7471, allocations: 440.8 kB / 1.544 GB, free: 0.7695 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.833e-05/0.7472, allocations: 59.41 kB / 1.544 GB, free: 0.6992 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009846/0.7482, allocations: 0.692 MB / 1.544 GB, free: 0 / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 7.389e-05/0.7482, allocations: 33.7 kB / 1.544 GB, free: 15.96 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004667/0.7487, allocations: 0.5503 MB / 1.545 GB, free: 15.4 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 8.664e-05/0.7488, allocations: 91.22 kB / 1.545 GB, free: 15.31 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000157/0.7489, allocations: 94.08 kB / 1.545 GB, free: 15.21 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.0002107/0.7491, allocations: 374.8 kB / 1.545 GB, free: 14.84 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002433/0.7494, allocations: 132.7 kB / 1.546 GB, free: 14.71 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000711/0.7501, allocations: 0.7318 MB / 1.546 GB, free: 13.79 MB / 1.248 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006456/0.7507, allocations: 471.5 kB / 1.547 GB, free: 13.24 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.952e-06/0.7508, allocations: 4 kB / 1.547 GB, free: 13.23 MB / 1.248 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.000952/0.7517, allocations: 0.5087 MB / 1.547 GB, free: 12.72 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 2.055e-05/0.7517, allocations: 8 kB / 1.547 GB, free: 12.71 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.191e-05/0.7517, allocations: 8 kB / 1.547 GB, free: 12.7 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.848e-05/0.7518, allocations: 11.94 kB / 1.547 GB, free: 12.69 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004002/0.7522, allocations: 91.83 kB / 1.547 GB, free: 12.6 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.466e-05/0.7522, allocations: 8 kB / 1.547 GB, free: 12.59 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004879/0.7527, allocations: 51.66 kB / 1.547 GB, free: 12.54 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.303e-05/0.7527, allocations: 31.98 kB / 1.547 GB, free: 12.51 MB / 1.248 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.0004268/0.7532, allocations: 282 kB / 1.548 GB, free: 12.23 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001153/0.7533, allocations: 71.53 kB / 1.548 GB, free: 12.16 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007718/0.754, allocations: 409.6 kB / 1.548 GB, free: 11.75 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.278e-05/0.7541, allocations: 4 kB / 1.548 GB, free: 11.74 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.03e-06/0.7541, allocations: 0 / 1.548 GB, free: 11.74 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.7541, allocations: 3.938 kB / 1.548 GB, free: 11.74 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002246/0.7563, allocations: 1.332 MB / 1.549 GB, free: 10.31 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.285e-06/0.7563, allocations: 4.562 kB / 1.549 GB, free: 10.31 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001748/0.7565, allocations: 43.92 kB / 1.55 GB, free: 10.27 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.786e-06/0.7565, allocations: 4 kB / 1.55 GB, free: 10.26 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.075e-05/0.7566, allocations: 23.98 kB / 1.55 GB, free: 10.24 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.787e-06/0.7566, allocations: 11.88 kB / 1.55 GB, free: 10.23 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.772e-06/0.7566, allocations: 4 kB / 1.55 GB, free: 10.22 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008133/0.7574, allocations: 0.5506 MB / 1.55 GB, free: 9.602 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003236/0.7577, allocations: 115.4 kB / 1.55 GB, free: 9.488 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.228e-05/0.7578, allocations: 15.94 kB / 1.55 GB, free: 9.473 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002969/0.7581, allocations: 8 kB / 1.55 GB, free: 9.465 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.303e-05/0.7582, allocations: 32.12 kB / 1.55 GB, free: 9.434 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.982e-05/0.7582, allocations: 12 kB / 1.55 GB, free: 9.422 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.000785/0.759, allocations: 491 kB / 1.551 GB, free: 8.945 MB / 1.248 GB Notification: Performance of sort global known variables: time 1e-07/0.759, allocations: 0 / 1.551 GB, free: 8.945 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.001419/0.7604, allocations: 323 kB / 1.551 GB, free: 8.629 MB / 1.248 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.0006814/0.7611, allocations: 314.1 kB / 1.551 GB, free: 8.316 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.0008151/0.7619, allocations: 328.4 kB / 1.552 GB, free: 7.996 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.7619, allocations: 0 / 1.552 GB, free: 7.996 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.0002294/0.7621, allocations: 143.6 kB / 1.552 GB, free: 7.855 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00138/0.7635, allocations: 263 kB / 1.552 GB, free: 7.602 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002636/0.7662, allocations: 1.605 MB / 1.554 GB, free: 5.898 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005331/0.7667, allocations: 471.9 kB / 1.554 GB, free: 5.406 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001862/0.7669, allocations: 59.42 kB / 1.554 GB, free: 5.348 MB / 1.248 GB Notification: Performance of SimCode: time 1.052e-06/0.7669, allocations: 0 / 1.554 GB, free: 5.348 MB / 1.248 GB Notification: Performance of Templates: time 0.02379/0.7907, allocations: 14.23 MB / 1.568 GB, free: 7.227 MB / 1.264 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe ; mkfifo Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe >> ../files/Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.sim & ./Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_FMI_Conversion_Validation_AirToOutletFlowReversal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 13.44946048501879]