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.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.001941/0.001941, allocations: 113.9 kB / 18.94 MB, free: 2.93 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.002581/0.002581, allocations: 188.8 kB / 22.22 MB, free: 5.105 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.613/1.613, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.355/3.355, allocations: 496 MB / 0.7835 GB, free: 33.57 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.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_12_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_12_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002177/0.002177, allocations: 75.5 kB / 1.138 GB, free: 33.86 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5201/0.5223, allocations: 173.6 MB / 1.307 GB, free: 1.809 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal): time 0.352/0.8743, allocations: 251 MB / 1.552 GB, free: 5.879 MB / 1.248 GB Notification: Performance of NFInst.instExpressions: time 0.0348/0.9091, allocations: 22.57 MB / 1.574 GB, free: 15.24 MB / 1.279 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002849/0.912, allocations: 79.31 kB / 1.575 GB, free: 15.16 MB / 1.279 GB Notification: Performance of NFTyping.typeComponents: time 0.003767/0.9158, allocations: 0.986 MB / 1.576 GB, free: 14.17 MB / 1.279 GB Notification: Performance of NFTyping.typeBindings: time 0.005847/0.9216, allocations: 1.529 MB / 1.577 GB, free: 12.63 MB / 1.279 GB Notification: Performance of NFTyping.typeClassSections: time 0.00687/0.9285, allocations: 2.03 MB / 1.579 GB, free: 10.61 MB / 1.279 GB Notification: Performance of NFFlatten.flatten: time 0.005712/0.9342, allocations: 2.679 MB / 1.582 GB, free: 7.918 MB / 1.279 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002266/0.9365, allocations: 0.9735 MB / 1.583 GB, free: 6.906 MB / 1.279 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005079/0.9415, allocations: 1.615 MB / 1.584 GB, free: 5.285 MB / 1.279 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001853/0.9434, allocations: 0.9494 MB / 1.585 GB, free: 4.332 MB / 1.279 GB Notification: Performance of NFPackage.collectConstants: time 0.000192/0.9436, allocations: 108 kB / 1.585 GB, free: 4.227 MB / 1.279 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004667/0.9482, allocations: 1.789 MB / 1.587 GB, free: 2.434 MB / 1.279 GB Notification: Performance of NFScalarize.scalarize: time 0.0005872/0.9488, allocations: 386.8 kB / 1.587 GB, free: 2.055 MB / 1.279 GB Notification: Performance of NFVerifyModel.verify: time 0.0009823/0.9498, allocations: 0.6415 MB / 1.588 GB, free: 1.41 MB / 1.279 GB Notification: Performance of NFConvertDAE.convert: time 0.00451/0.9543, allocations: 2.269 MB / 1.59 GB, free: 15.13 MB / 1.295 GB Notification: Performance of FrontEnd - DAE generated: time 7.845e-06/0.9543, allocations: 0 / 1.59 GB, free: 15.13 MB / 1.295 GB Notification: Performance of FrontEnd: time 3.347e-06/0.9543, allocations: 3.938 kB / 1.59 GB, free: 15.13 MB / 1.295 GB Notification: Performance of Transformations before backend: time 3.985e-05/0.9544, allocations: 0 / 1.59 GB, free: 15.13 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.002924/0.9573, allocations: 1.442 MB / 1.592 GB, free: 13.65 MB / 1.295 GB Notification: Performance of prepare preOptimizeDAE: time 6.061e-05/0.9574, allocations: 8.922 kB / 1.592 GB, free: 13.64 MB / 1.295 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00124/0.9586, allocations: 235 kB / 1.592 GB, free: 13.41 MB / 1.295 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001861/0.9605, allocations: 0.8402 MB / 1.593 GB, free: 12.54 MB / 1.295 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002095/0.9607, allocations: 192.8 kB / 1.593 GB, free: 12.33 MB / 1.295 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001358/0.9608, allocations: 91.94 kB / 1.593 GB, free: 12.24 MB / 1.295 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001649/0.9625, allocations: 0.9246 MB / 1.594 GB, free: 11.28 MB / 1.295 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.269e-05/0.9625, allocations: 7.984 kB / 1.594 GB, free: 11.27 MB / 1.295 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.635e-05/0.9626, allocations: 36 kB / 1.594 GB, free: 11.24 MB / 1.295 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.989e-05/0.9626, allocations: 24 kB / 1.594 GB, free: 11.21 MB / 1.295 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001183/0.9638, allocations: 0.6324 MB / 1.594 GB, free: 10.59 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.005537/0.9693, allocations: 4.359 MB / 1.599 GB, free: 5.832 MB / 1.295 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004188/0.9697, allocations: 190.6 kB / 1.599 GB, free: 5.637 MB / 1.295 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002125/0.9699, allocations: 144.7 kB / 1.599 GB, free: 5.492 MB / 1.295 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005823/0.9705, allocations: 131.8 kB / 1.599 GB, free: 5.363 MB / 1.295 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.76e-05/0.9706, allocations: 30.56 kB / 1.599 GB, free: 5.324 MB / 1.295 GB Notification: Performance of pre-optimization done (n=24): time 2.886e-06/0.9706, allocations: 0 / 1.599 GB, free: 5.324 MB / 1.295 GB Notification: Performance of matching and sorting (n=24): time 0.001229/0.9718, allocations: 476.5 kB / 1.6 GB, free: 4.852 MB / 1.295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.666e-05/0.9719, allocations: 63.41 kB / 1.6 GB, free: 4.777 MB / 1.295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001721/0.9736, allocations: 1.106 MB / 1.601 GB, free: 3.656 MB / 1.295 GB Notification: Performance of collectPreVariables (initialization): time 5.059e-05/0.9736, allocations: 33.7 kB / 1.601 GB, free: 3.617 MB / 1.295 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005764/0.9742, allocations: 0.5204 MB / 1.601 GB, free: 3.094 MB / 1.295 GB Notification: Performance of collectInitialBindings (initialization): time 9.165e-05/0.9743, allocations: 87.27 kB / 1.601 GB, free: 3.008 MB / 1.295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001855/0.9745, allocations: 98.03 kB / 1.601 GB, free: 2.906 MB / 1.295 GB Notification: Performance of setup shared object (initialization): time 0.0002038/0.9747, allocations: 318 kB / 1.602 GB, free: 2.59 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002536/0.9749, allocations: 128.8 kB / 1.602 GB, free: 2.465 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005494/0.9755, allocations: 391 kB / 1.602 GB, free: 1.969 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007219/0.9762, allocations: 467.5 kB / 1.603 GB, free: 1.426 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.466e-06/0.9762, allocations: 4 kB / 1.603 GB, free: 1.422 MB / 1.295 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001026/0.9772, allocations: 0.5399 MB / 1.603 GB, free: 0.875 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 2.957e-05/0.9773, allocations: 14.12 kB / 1.603 GB, free: 0.8633 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.301e-05/0.9773, allocations: 8.062 kB / 1.603 GB, free: 0.8555 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.284e-05/0.9773, allocations: 12 kB / 1.603 GB, free: 0.8438 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003858/0.9777, allocations: 83.84 kB / 1.603 GB, free: 0.7617 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.288e-05/0.9777, allocations: 15.92 kB / 1.603 GB, free: 0.7461 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007194/0.9784, allocations: 99.27 kB / 1.603 GB, free: 0.6484 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.636e-05/0.9785, allocations: 24 kB / 1.604 GB, free: 0.625 MB / 1.295 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.0004397/0.9789, allocations: 290.1 kB / 1.604 GB, free: 340 kB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001594/0.9791, allocations: 119.2 kB / 1.604 GB, free: 220 kB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.17/2.149, allocations: 423.7 kB / 1.604 GB, free: 300.4 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.132e-05/2.149, allocations: 3.766 kB / 1.604 GB, free: 300.4 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.566e-06/2.149, allocations: 0 / 1.604 GB, free: 300.4 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.055e-06/2.149, allocations: 2.5 kB / 1.604 GB, free: 300.4 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003719/2.153, allocations: 1.527 MB / 1.606 GB, free: 300 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.741e-05/2.153, allocations: 7.594 kB / 1.606 GB, free: 300 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002105/2.153, allocations: 44.31 kB / 1.606 GB, free: 299.9 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.889e-05/2.153, allocations: 7.062 kB / 1.606 GB, free: 299.9 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.393e-05/2.153, allocations: 14.67 kB / 1.606 GB, free: 299.9 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.68e-05/2.154, allocations: 6.656 kB / 1.606 GB, free: 299.9 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.305e-05/2.154, allocations: 8.156 kB / 1.606 GB, free: 299.9 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001035/2.155, allocations: 0.578 MB / 1.606 GB, free: 299.7 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005303/2.155, allocations: 166.4 kB / 1.607 GB, free: 299.7 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001303/2.155, allocations: 12.2 kB / 1.607 GB, free: 299.7 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004738/2.156, allocations: 17.39 kB / 1.607 GB, free: 299.7 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.356e-05/2.156, allocations: 35.03 kB / 1.607 GB, free: 299.7 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.415e-05/2.156, allocations: 15.86 kB / 1.607 GB, free: 299.7 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.001575/2.157, allocations: 0.7837 MB / 1.607 GB, free: 299.4 MB / 1.295 GB Notification: Performance of sort global known variables: time 9e-08/2.157, allocations: 3.875 kB / 1.607 GB, free: 299.4 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.001728/2.159, allocations: 283.6 kB / 1.608 GB, free: 299.4 MB / 1.295 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.0009171/2.16, allocations: 335.2 kB / 1.608 GB, free: 299.3 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.0006901/2.161, allocations: 332.8 kB / 1.608 GB, free: 299.2 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 5.139e-06/2.161, allocations: 3.844 kB / 1.608 GB, free: 299.2 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.0001836/2.161, allocations: 138.3 kB / 1.608 GB, free: 299.1 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002231/2.163, allocations: 0.5089 MB / 1.609 GB, free: 299 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002776/2.166, allocations: 1.6 MB / 1.611 GB, free: 298.1 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008332/2.167, allocations: 1.064 MB / 1.612 GB, free: 297.3 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.000838/2.168, allocations: 195.2 kB / 1.612 GB, free: 297.3 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001793/2.168, allocations: 70.98 kB / 1.612 GB, free: 297.3 MB / 1.295 GB Notification: Performance of SimCode: time 2.224e-06/2.168, allocations: 1.75 kB / 1.612 GB, free: 297.3 MB / 1.295 GB Notification: Performance of Templates: time 0.05326/2.221, allocations: 18.95 MB / 1.63 GB, free: 291.8 MB / 1.295 GB " [Timeout remaining time 298] make -j1 -f Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.makefile [Timeout 300] (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 & ./Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe 2>&1) [Timeout 400] 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/jenkins/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: 12.668541324324906]