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.001325/0.001325, allocations: 97.11 kB / 19.7 MB, free: 2.129 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.001648/0.001648, allocations: 210.6 kB / 23 MB, free: 4.934 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.573/1.573, allocations: 230.6 MB / 256.8 MB, free: 7.797 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.595/3.595, allocations: 0.49 GB / 0.7959 GB, free: 35.51 MB / 0.6231 GB " [Timeout remaining time 176] 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: 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: 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.00214/0.00214, allocations: 69.08 kB / 1.155 GB, free: 25.21 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5272/0.5294, allocations: 176.1 MB / 1.327 GB, free: 0.957 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal): time 0.3083/0.8377, allocations: 222.3 MB / 1.544 GB, free: 1.879 MB / 1.232 GB Notification: Performance of NFInst.instExpressions: time 0.03214/0.8699, allocations: 20.56 MB / 1.564 GB, free: 13.26 MB / 1.264 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002724/0.8726, allocations: 79.31 kB / 1.564 GB, free: 13.18 MB / 1.264 GB Notification: Performance of NFTyping.typeComponents: time 0.003482/0.8761, allocations: 0.9899 MB / 1.565 GB, free: 12.18 MB / 1.264 GB Notification: Performance of NFTyping.typeBindings: time 0.005582/0.8816, allocations: 1.501 MB / 1.567 GB, free: 10.68 MB / 1.264 GB Notification: Performance of NFTyping.typeClassSections: time 0.006641/0.8883, allocations: 1.98 MB / 1.569 GB, free: 8.699 MB / 1.264 GB Notification: Performance of NFFlatten.flatten: time 0.005536/0.8938, allocations: 2.698 MB / 1.571 GB, free: 5.984 MB / 1.264 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002043/0.8959, allocations: 0.9774 MB / 1.572 GB, free: 4.965 MB / 1.264 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004658/0.9005, allocations: 1.619 MB / 1.574 GB, free: 3.34 MB / 1.264 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002018/0.9025, allocations: 0.965 MB / 1.575 GB, free: 2.371 MB / 1.264 GB Notification: Performance of NFPackage.collectConstants: time 0.0002345/0.9028, allocations: 108 kB / 1.575 GB, free: 2.266 MB / 1.264 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003818/0.9066, allocations: 1.399 MB / 1.576 GB, free: 0.8633 MB / 1.264 GB Notification: Performance of NFScalarize.scalarize: time 0.0005428/0.9071, allocations: 394.7 kB / 1.577 GB, free: 488 kB / 1.264 GB Notification: Performance of NFVerifyModel.verify: time 0.0007906/0.9079, allocations: 0.5056 MB / 1.577 GB, free: 15.96 MB / 1.279 GB Notification: Performance of NFConvertDAE.convert: time 0.004061/0.912, allocations: 2.312 MB / 1.579 GB, free: 13.65 MB / 1.279 GB Notification: Performance of FrontEnd - DAE generated: time 5.952e-06/0.912, allocations: 0 / 1.579 GB, free: 13.65 MB / 1.279 GB Notification: Performance of FrontEnd: time 1.714e-06/0.912, allocations: 4 kB / 1.579 GB, free: 13.64 MB / 1.279 GB Notification: Performance of Transformations before backend: time 2.697e-05/0.912, allocations: 0 / 1.579 GB, free: 13.64 MB / 1.279 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.002714/0.9147, allocations: 1.434 MB / 1.581 GB, free: 12.18 MB / 1.279 GB Notification: Performance of prepare preOptimizeDAE: time 5.523e-05/0.9148, allocations: 16.03 kB / 1.581 GB, free: 12.16 MB / 1.279 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001234/0.916, allocations: 231.1 kB / 1.581 GB, free: 11.93 MB / 1.279 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001838/0.9179, allocations: 0.8558 MB / 1.582 GB, free: 11.05 MB / 1.279 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002817/0.9181, allocations: 291.6 kB / 1.582 GB, free: 10.71 MB / 1.279 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001477/0.9183, allocations: 95.94 kB / 1.582 GB, free: 10.62 MB / 1.279 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001734/0.92, allocations: 0.9285 MB / 1.583 GB, free: 9.656 MB / 1.279 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.686e-05/0.9201, allocations: 4 kB / 1.583 GB, free: 9.652 MB / 1.279 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.14e-05/0.9201, allocations: 36 kB / 1.583 GB, free: 9.617 MB / 1.279 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.545e-05/0.9202, allocations: 24 kB / 1.583 GB, free: 9.594 MB / 1.279 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00119/0.9213, allocations: 0.6324 MB / 1.584 GB, free: 8.961 MB / 1.279 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.004287/0.9256, allocations: 2.626 MB / 1.586 GB, free: 6.262 MB / 1.279 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004224/0.9261, allocations: 186.6 kB / 1.587 GB, free: 6.07 MB / 1.279 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002069/0.9263, allocations: 132.8 kB / 1.587 GB, free: 5.938 MB / 1.279 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006274/0.9269, allocations: 127.9 kB / 1.587 GB, free: 5.812 MB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.253e-05/0.9269, allocations: 34.56 kB / 1.587 GB, free: 5.77 MB / 1.279 GB Notification: Performance of pre-optimization done (n=24): time 4.098e-06/0.9269, allocations: 0 / 1.587 GB, free: 5.77 MB / 1.279 GB Notification: Performance of matching and sorting (n=24): time 0.001252/0.9282, allocations: 447.2 kB / 1.587 GB, free: 5.328 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.713e-05/0.9282, allocations: 59.39 kB / 1.587 GB, free: 5.258 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001092/0.9293, allocations: 0.7037 MB / 1.588 GB, free: 4.547 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 4.517e-05/0.9294, allocations: 33.7 kB / 1.588 GB, free: 4.508 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004956/0.9299, allocations: 0.5464 MB / 1.589 GB, free: 3.953 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001033/0.93, allocations: 95.19 kB / 1.589 GB, free: 3.859 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002039/0.9302, allocations: 102 kB / 1.589 GB, free: 3.754 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 0.0002797/0.9305, allocations: 374.8 kB / 1.589 GB, free: 3.379 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000253/0.9307, allocations: 132.8 kB / 1.589 GB, free: 3.25 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007781/0.9315, allocations: 0.7373 MB / 1.59 GB, free: 2.316 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006694/0.9322, allocations: 463.6 kB / 1.59 GB, free: 1.777 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.15e-06/0.9322, allocations: 3.938 kB / 1.59 GB, free: 1.773 MB / 1.279 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0009499/0.9331, allocations: 0.5127 MB / 1.591 GB, free: 1.254 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 2.482e-05/0.9331, allocations: 12.12 kB / 1.591 GB, free: 1.242 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.281e-05/0.9332, allocations: 4 kB / 1.591 GB, free: 1.238 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.198e-05/0.9332, allocations: 15.94 kB / 1.591 GB, free: 1.223 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004004/0.9336, allocations: 91.83 kB / 1.591 GB, free: 1.133 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.424e-05/0.9336, allocations: 19.92 kB / 1.591 GB, free: 1.113 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005264/0.9342, allocations: 35.78 kB / 1.591 GB, free: 1.078 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.319e-05/0.9342, allocations: 27.98 kB / 1.591 GB, free: 1.051 MB / 1.279 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.0004661/0.9347, allocations: 285.6 kB / 1.591 GB, free: 0.7617 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001352/0.9348, allocations: 79.48 kB / 1.591 GB, free: 0.6836 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007747/0.9356, allocations: 407 kB / 1.592 GB, free: 284 kB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.328e-06/0.9356, allocations: 3.938 kB / 1.592 GB, free: 280 kB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-06/0.9356, allocations: 0 / 1.592 GB, free: 280 kB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002621/0.9359, allocations: 107.4 kB / 1.592 GB, free: 172 kB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.714e-05/0.936, allocations: 11.95 kB / 1.592 GB, free: 160 kB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002157/0.9362, allocations: 4 kB / 1.592 GB, free: 156 kB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.15e-05/0.9362, allocations: 16.19 kB / 1.592 GB, free: 140 kB / 1.279 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006203/0.9368, allocations: 363 kB / 1.592 GB, free: 15.78 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006411/0.9375, allocations: 0.5038 MB / 1.593 GB, free: 15.26 MB / 1.295 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001816/0.9377, allocations: 111.9 kB / 1.593 GB, free: 15.15 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.0006997/0.9384, allocations: 499 kB / 1.593 GB, free: 14.67 MB / 1.295 GB Notification: Performance of Backend: time 7.91e-07/0.9384, allocations: 0 / 1.593 GB, free: 14.67 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.001967/0.9403, allocations: 0.6539 MB / 1.594 GB, free: 14.01 MB / 1.295 GB Notification: Performance of SimCode: time 0.003563/0.9439, allocations: 2.046 MB / 1.596 GB, free: 11.91 MB / 1.295 GB Notification: Performance of Templates: time 0.9972/1.941, allocations: 16.65 MB / 1.612 GB, free: 283.1 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/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: 12.023062519001542]