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.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.001649/0.001649, allocations: 114.8 kB / 18.89 MB, free: 2.898 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.001961/0.001961, allocations: 193.3 kB / 22.17 MB, free: 5.211 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.594/1.594, allocations: 225.6 MB / 250.9 MB, free: 13.26 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.81/2.81, allocations: 476.7 MB / 0.7645 GB, free: 10.07 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_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: Performance of FrontEnd - loaded program: time 0.002009/0.002009, allocations: 71.88 kB / 1.109 GB, free: 6.488 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8499/0.8519, allocations: 168.7 MB / 1.274 GB, free: 4.559 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal): time 0.2895/1.141, allocations: 251 MB / 1.519 GB, free: 8.688 MB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.03174/1.173, allocations: 22.58 MB / 1.541 GB, free: 2.043 MB / 1.232 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002237/1.175, allocations: 51.69 kB / 1.541 GB, free: 1.992 MB / 1.232 GB Notification: Performance of NFTyping.typeComponents: time 0.003287/1.179, allocations: 0.9976 MB / 1.542 GB, free: 0.9883 MB / 1.232 GB Notification: Performance of NFTyping.typeBindings: time 0.005067/1.184, allocations: 1.518 MB / 1.544 GB, free: 15.46 MB / 1.248 GB Notification: Performance of NFTyping.typeClassSections: time 0.005795/1.19, allocations: 1.98 MB / 1.546 GB, free: 13.49 MB / 1.248 GB Notification: Performance of NFFlatten.flatten: time 0.005948/1.195, allocations: 2.678 MB / 1.548 GB, free: 10.8 MB / 1.248 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001917/1.197, allocations: 0.9613 MB / 1.549 GB, free: 9.801 MB / 1.248 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003534/1.201, allocations: 1.366 MB / 1.551 GB, free: 8.43 MB / 1.248 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002163/1.203, allocations: 0.9533 MB / 1.551 GB, free: 7.473 MB / 1.248 GB Notification: Performance of NFPackage.collectConstants: time 0.0002645/1.203, allocations: 112 kB / 1.552 GB, free: 7.363 MB / 1.248 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00438/1.208, allocations: 1.781 MB / 1.553 GB, free: 5.578 MB / 1.248 GB Notification: Performance of NFScalarize.scalarize: time 0.0006333/1.208, allocations: 390.7 kB / 1.554 GB, free: 5.195 MB / 1.248 GB Notification: Performance of NFVerifyModel.verify: time 0.001109/1.209, allocations: 0.6337 MB / 1.554 GB, free: 4.559 MB / 1.248 GB Notification: Performance of NFConvertDAE.convert: time 0.004715/1.214, allocations: 2.277 MB / 1.557 GB, free: 2.273 MB / 1.248 GB Notification: Performance of FrontEnd - DAE generated: time 5.63e-06/1.214, allocations: 0 / 1.557 GB, free: 2.273 MB / 1.248 GB Notification: Performance of FrontEnd: time 1.463e-06/1.214, allocations: 4 kB / 1.557 GB, free: 2.27 MB / 1.248 GB Notification: Performance of Transformations before backend: time 1.853e-05/1.214, allocations: 3.938 kB / 1.557 GB, free: 2.266 MB / 1.248 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.002541/1.217, allocations: 1.509 MB / 1.558 GB, free: 0.7031 MB / 1.248 GB Notification: Performance of prepare preOptimizeDAE: time 4.547e-05/1.217, allocations: 8.031 kB / 1.558 GB, free: 0.6953 MB / 1.248 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001181/1.218, allocations: 235 kB / 1.558 GB, free: 476 kB / 1.248 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001948/1.22, allocations: 0.9243 MB / 1.559 GB, free: 15.49 MB / 1.264 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002416/1.22, allocations: 184.8 kB / 1.559 GB, free: 15.29 MB / 1.264 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001532/1.22, allocations: 95.75 kB / 1.559 GB, free: 15.2 MB / 1.264 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001817/1.222, allocations: 0.9323 MB / 1.56 GB, free: 14.23 MB / 1.264 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.138e-05/1.222, allocations: 4 kB / 1.56 GB, free: 14.23 MB / 1.264 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.427e-05/1.222, allocations: 36 kB / 1.56 GB, free: 14.19 MB / 1.264 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.7e-05/1.222, allocations: 24 kB / 1.56 GB, free: 14.17 MB / 1.264 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00122/1.223, allocations: 0.6285 MB / 1.561 GB, free: 13.54 MB / 1.264 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.005714/1.229, allocations: 4.437 MB / 1.565 GB, free: 8.707 MB / 1.264 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004234/1.23, allocations: 186.6 kB / 1.565 GB, free: 8.516 MB / 1.264 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002196/1.23, allocations: 144.8 kB / 1.566 GB, free: 8.371 MB / 1.264 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001191/1.231, allocations: 1.017 MB / 1.567 GB, free: 7.133 MB / 1.264 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.184e-05/1.231, allocations: 38.48 kB / 1.567 GB, free: 7.086 MB / 1.264 GB Notification: Performance of pre-optimization done (n=24): time 2.555e-06/1.231, allocations: 0 / 1.567 GB, free: 7.086 MB / 1.264 GB Notification: Performance of matching and sorting (n=24): time 0.001208/1.232, allocations: 469.7 kB / 1.567 GB, free: 6.621 MB / 1.264 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.832e-05/1.232, allocations: 59.41 kB / 1.567 GB, free: 6.551 MB / 1.264 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001695/1.234, allocations: 1.114 MB / 1.568 GB, free: 5.422 MB / 1.264 GB Notification: Performance of collectPreVariables (initialization): time 4.222e-05/1.234, allocations: 29.7 kB / 1.568 GB, free: 5.387 MB / 1.264 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005325/1.235, allocations: 0.5165 MB / 1.569 GB, free: 4.867 MB / 1.264 GB Notification: Performance of collectInitialBindings (initialization): time 8.557e-05/1.235, allocations: 87.27 kB / 1.569 GB, free: 4.781 MB / 1.264 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001843/1.235, allocations: 102 kB / 1.569 GB, free: 4.676 MB / 1.264 GB Notification: Performance of setup shared object (initialization): time 0.0001645/1.235, allocations: 325.9 kB / 1.569 GB, free: 4.352 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002516/1.235, allocations: 128.8 kB / 1.569 GB, free: 4.227 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005092/1.236, allocations: 387.1 kB / 1.57 GB, free: 3.734 MB / 1.264 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006482/1.236, allocations: 467.6 kB / 1.57 GB, free: 3.191 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.792e-06/1.236, allocations: 4 kB / 1.57 GB, free: 3.188 MB / 1.264 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001112/1.238, allocations: 0.5402 MB / 1.571 GB, free: 2.641 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 2.545e-05/1.238, allocations: 16.03 kB / 1.571 GB, free: 2.625 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.159e-05/1.238, allocations: 4 kB / 1.571 GB, free: 2.621 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.596e-05/1.238, allocations: 8 kB / 1.571 GB, free: 2.613 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004095/1.238, allocations: 91.83 kB / 1.571 GB, free: 2.523 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.953e-05/1.238, allocations: 15.94 kB / 1.571 GB, free: 2.508 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007107/1.239, allocations: 91.27 kB / 1.571 GB, free: 2.418 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.486e-05/1.239, allocations: 31.97 kB / 1.571 GB, free: 2.387 MB / 1.264 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.0004478/1.239, allocations: 289.6 kB / 1.571 GB, free: 2.094 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001643/1.239, allocations: 111.2 kB / 1.571 GB, free: 1.984 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007698/1.24, allocations: 428.9 kB / 1.572 GB, free: 1.562 MB / 1.264 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.588e-06/1.24, allocations: 0 / 1.572 GB, free: 1.562 MB / 1.264 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.306e-06/1.24, allocations: 4 kB / 1.572 GB, free: 1.559 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.248e-06/1.24, allocations: 3.984 kB / 1.572 GB, free: 1.555 MB / 1.264 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002626/1.243, allocations: 1.554 MB / 1.573 GB, free: 15.89 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.017e-05/1.243, allocations: 11.88 kB / 1.573 GB, free: 15.88 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001863/1.243, allocations: 44.48 kB / 1.573 GB, free: 15.83 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.207e-06/1.243, allocations: 8 kB / 1.573 GB, free: 15.82 MB / 1.279 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.407e-05/1.243, allocations: 8.062 kB / 1.573 GB, free: 15.82 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.006e-05/1.243, allocations: 11.98 kB / 1.573 GB, free: 15.8 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.073e-05/1.243, allocations: 11.94 kB / 1.573 GB, free: 15.79 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007773/1.244, allocations: 0.578 MB / 1.574 GB, free: 15.14 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004522/1.244, allocations: 240.3 kB / 1.574 GB, free: 14.89 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000128/1.244, allocations: 11.98 kB / 1.574 GB, free: 14.88 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004369/1.245, allocations: 15.98 kB / 1.574 GB, free: 14.86 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.019e-05/1.245, allocations: 27.86 kB / 1.574 GB, free: 14.84 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.361e-05/1.245, allocations: 19.98 kB / 1.574 GB, free: 14.82 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.001205/1.246, allocations: 0.7783 MB / 1.575 GB, free: 14.03 MB / 1.279 GB Notification: Performance of sort global known variables: time 8e-08/1.246, allocations: 0 / 1.575 GB, free: 14.03 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.0009493/1.247, allocations: 283.4 kB / 1.575 GB, free: 13.75 MB / 1.279 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.000822/1.248, allocations: 341.8 kB / 1.576 GB, free: 13.43 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.0006916/1.249, allocations: 328 kB / 1.576 GB, free: 13.11 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 5.871e-06/1.249, allocations: 4 kB / 1.576 GB, free: 13.1 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.0002289/1.249, allocations: 133.2 kB / 1.576 GB, free: 12.97 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002442/1.251, allocations: 0.5172 MB / 1.577 GB, free: 12.46 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002969/1.254, allocations: 1.621 MB / 1.578 GB, free: 10.75 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008414/1.255, allocations: 1.063 MB / 1.579 GB, free: 9.664 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.0007307/1.256, allocations: 195.1 kB / 1.579 GB, free: 9.477 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001985/1.256, allocations: 75.42 kB / 1.579 GB, free: 9.402 MB / 1.279 GB Notification: Performance of SimCode: time 1.282e-06/1.256, allocations: 0 / 1.579 GB, free: 9.402 MB / 1.279 GB Notification: Performance of Templates: time 0.03811/1.294, allocations: 18.79 MB / 1.598 GB, free: 6.836 MB / 1.295 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 -s cvode -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_2/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: 10.497085540089756]