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.001818/0.001818, allocations: 106.1 kB / 16.46 MB, free: 6.512 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.002249/0.002249, allocations: 208.3 kB / 19.43 MB, free: 3.648 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.8/1.8, allocations: 230.6 MB / 252.8 MB, free: 8.965 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.489/3.489, allocations: 0.4899 GB / 0.7915 GB, free: 33.28 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.002593/0.002593, allocations: 70.27 kB / 1.149 GB, free: 26.27 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4262/0.4288, allocations: 176.1 MB / 1.321 GB, free: 2.918 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal): time 0.328/0.7567, allocations: 253.3 MB / 1.569 GB, free: 4.742 MB / 1.264 GB Notification: Performance of NFInst.instExpressions: time 0.03058/0.7873, allocations: 22.44 MB / 1.59 GB, free: 14.23 MB / 1.295 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001996/0.7893, allocations: 79.31 kB / 1.591 GB, free: 14.15 MB / 1.295 GB Notification: Performance of NFTyping.typeComponents: time 0.003051/0.7924, allocations: 0.9976 MB / 1.592 GB, free: 13.14 MB / 1.295 GB Notification: Performance of NFTyping.typeBindings: time 0.005079/0.7974, allocations: 1.509 MB / 1.593 GB, free: 11.63 MB / 1.295 GB Notification: Performance of NFTyping.typeClassSections: time 0.005738/0.8032, allocations: 1.965 MB / 1.595 GB, free: 9.668 MB / 1.295 GB Notification: Performance of NFFlatten.flatten: time 0.005275/0.8084, allocations: 2.667 MB / 1.598 GB, free: 6.984 MB / 1.295 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002376/0.8108, allocations: 1.039 MB / 1.599 GB, free: 5.91 MB / 1.295 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004438/0.8153, allocations: 1.604 MB / 1.6 GB, free: 4.301 MB / 1.295 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002452/0.8177, allocations: 0.9572 MB / 1.601 GB, free: 3.34 MB / 1.295 GB Notification: Performance of NFPackage.collectConstants: time 0.0004222/0.8181, allocations: 108 kB / 1.601 GB, free: 3.234 MB / 1.295 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004593/0.8227, allocations: 1.8 MB / 1.603 GB, free: 1.43 MB / 1.295 GB Notification: Performance of NFScalarize.scalarize: time 0.0008628/0.8236, allocations: 386.7 kB / 1.603 GB, free: 1.051 MB / 1.295 GB Notification: Performance of NFVerifyModel.verify: time 0.001633/0.8252, allocations: 0.6338 MB / 1.604 GB, free: 424 kB / 1.295 GB Notification: Performance of NFConvertDAE.convert: time 0.9906/1.816, allocations: 2.36 MB / 1.606 GB, free: 9.77 MB / 1.295 GB Notification: Performance of FrontEnd - DAE generated: time 8.005e-06/1.816, allocations: 0 / 1.606 GB, free: 9.77 MB / 1.295 GB Notification: Performance of FrontEnd: time 2.324e-06/1.816, allocations: 0 / 1.606 GB, free: 9.77 MB / 1.295 GB Notification: Performance of Transformations before backend: time 4.372e-05/1.816, allocations: 1 kB / 1.606 GB, free: 9.77 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.003809/1.82, allocations: 1.525 MB / 1.608 GB, free: 8.938 MB / 1.295 GB Notification: Performance of prepare preOptimizeDAE: time 5.56e-05/1.82, allocations: 15.55 kB / 1.608 GB, free: 8.934 MB / 1.295 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00143/1.821, allocations: 232.6 kB / 1.608 GB, free: 8.863 MB / 1.295 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001917/1.823, allocations: 0.9384 MB / 1.609 GB, free: 8.531 MB / 1.295 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002072/1.823, allocations: 185 kB / 1.609 GB, free: 8.402 MB / 1.295 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001761/1.823, allocations: 95.06 kB / 1.609 GB, free: 8.402 MB / 1.295 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002081/1.826, allocations: 0.9287 MB / 1.61 GB, free: 8.273 MB / 1.295 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.495e-05/1.826, allocations: 2.156 kB / 1.61 GB, free: 8.273 MB / 1.295 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.238e-05/1.826, allocations: 35.41 kB / 1.61 GB, free: 8.273 MB / 1.295 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.561e-05/1.826, allocations: 21.56 kB / 1.61 GB, free: 8.273 MB / 1.295 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001451/1.827, allocations: 0.6381 MB / 1.611 GB, free: 8.262 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.007375/1.835, allocations: 4.44 MB / 1.615 GB, free: 21.54 MB / 1.311 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004348/1.835, allocations: 183.2 kB / 1.615 GB, free: 21.52 MB / 1.311 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001999/1.835, allocations: 137.4 kB / 1.615 GB, free: 21.51 MB / 1.311 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001229/1.836, allocations: 1.019 MB / 1.616 GB, free: 20.38 MB / 1.311 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.615e-05/1.836, allocations: 36.22 kB / 1.616 GB, free: 20.34 MB / 1.311 GB Notification: Performance of pre-optimization done (n=24): time 2.355e-06/1.836, allocations: 0 / 1.616 GB, free: 20.34 MB / 1.311 GB Notification: Performance of matching and sorting (n=24): time 0.001286/1.838, allocations: 479.2 kB / 1.617 GB, free: 20.25 MB / 1.311 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.58e-05/1.838, allocations: 57.33 kB / 1.617 GB, free: 20.18 MB / 1.311 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002092/1.84, allocations: 1.119 MB / 1.618 GB, free: 20.03 MB / 1.311 GB Notification: Performance of collectPreVariables (initialization): time 7.717e-05/1.84, allocations: 35.17 kB / 1.618 GB, free: 20 MB / 1.311 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005869/1.841, allocations: 0.5194 MB / 1.619 GB, free: 19.8 MB / 1.311 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001078/1.841, allocations: 93.41 kB / 1.619 GB, free: 19.74 MB / 1.311 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000236/1.841, allocations: 98.14 kB / 1.619 GB, free: 19.72 MB / 1.311 GB Notification: Performance of setup shared object (initialization): time 0.0001808/1.841, allocations: 319 kB / 1.619 GB, free: 19.42 MB / 1.311 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002821/1.841, allocations: 133 kB / 1.619 GB, free: 19.42 MB / 1.311 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005353/1.842, allocations: 384.3 kB / 1.62 GB, free: 19.13 MB / 1.311 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006774/1.843, allocations: 473.9 kB / 1.62 GB, free: 18.91 MB / 1.311 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.076e-06/1.843, allocations: 2.25 kB / 1.62 GB, free: 18.91 MB / 1.311 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001451/1.844, allocations: 0.5466 MB / 1.62 GB, free: 18.82 MB / 1.311 GB Notification: Performance of prepare postOptimizeDAE: time 3.26e-05/1.844, allocations: 8.812 kB / 1.621 GB, free: 18.82 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.708e-05/1.844, allocations: 11.84 kB / 1.621 GB, free: 18.82 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.445e-05/1.844, allocations: 9.844 kB / 1.621 GB, free: 18.82 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004763/1.845, allocations: 88.02 kB / 1.621 GB, free: 18.82 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.797e-05/1.845, allocations: 14.56 kB / 1.621 GB, free: 18.82 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001305/1.846, allocations: 100.1 kB / 1.621 GB, free: 18.77 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001445/1.846, allocations: 27.08 kB / 1.621 GB, free: 18.77 MB / 1.311 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.0007208/1.847, allocations: 286 kB / 1.621 GB, free: 18.65 MB / 1.311 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003897/1.847, allocations: 109.4 kB / 1.621 GB, free: 18.59 MB / 1.311 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001241/1.848, allocations: 436.1 kB / 1.622 GB, free: 18.51 MB / 1.311 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.053e-05/1.848, allocations: 3.469 kB / 1.622 GB, free: 18.51 MB / 1.311 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.107e-06/1.848, allocations: 1.469 kB / 1.622 GB, free: 18.51 MB / 1.311 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.536e-06/1.848, allocations: 1.844 kB / 1.622 GB, free: 18.51 MB / 1.311 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003755/1.852, allocations: 1.55 MB / 1.623 GB, free: 18.05 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.836e-05/1.852, allocations: 5.625 kB / 1.623 GB, free: 18.05 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002211/1.852, allocations: 43.2 kB / 1.623 GB, free: 18.05 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.918e-05/1.852, allocations: 10.66 kB / 1.623 GB, free: 18.05 MB / 1.311 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.31e-05/1.853, allocations: 13.83 kB / 1.623 GB, free: 18.05 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.44e-05/1.853, allocations: 7.281 kB / 1.623 GB, free: 18.05 MB / 1.311 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.196e-05/1.853, allocations: 9.25 kB / 1.623 GB, free: 18.05 MB / 1.311 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001161/1.854, allocations: 0.5726 MB / 1.624 GB, free: 17.72 MB / 1.311 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006824/1.854, allocations: 247.8 kB / 1.624 GB, free: 17.56 MB / 1.311 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003381/1.855, allocations: 14.41 kB / 1.624 GB, free: 17.56 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006451/1.855, allocations: 17.11 kB / 1.624 GB, free: 17.56 MB / 1.311 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.029e-05/1.855, allocations: 33.41 kB / 1.624 GB, free: 17.55 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.396e-05/1.856, allocations: 11.84 kB / 1.624 GB, free: 17.55 MB / 1.311 GB Notification: Performance of sorting global known variables: time 0.002084/1.858, allocations: 0.7877 MB / 1.625 GB, free: 17.45 MB / 1.311 GB Notification: Performance of sort global known variables: time 8e-08/1.858, allocations: 1.156 kB / 1.625 GB, free: 17.45 MB / 1.311 GB Notification: Performance of remove unused functions: time 0.001689/1.859, allocations: 291.2 kB / 1.625 GB, free: 17.41 MB / 1.311 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.001019/1.86, allocations: 304 kB / 1.625 GB, free: 17.3 MB / 1.311 GB Notification: Performance of simCode: created initialization part: time 0.0008667/1.861, allocations: 329.7 kB / 1.626 GB, free: 17.3 MB / 1.311 GB Notification: Performance of simCode: created event and clocks part: time 6.642e-06/1.861, allocations: 0 / 1.626 GB, free: 17.3 MB / 1.311 GB Notification: Performance of simCode: created simulation system equations: time 0.000274/1.861, allocations: 138.1 kB / 1.626 GB, free: 17.3 MB / 1.311 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003026/1.864, allocations: 0.523 MB / 1.626 GB, free: 17.24 MB / 1.311 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004041/1.869, allocations: 1.605 MB / 1.628 GB, free: 16.45 MB / 1.311 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001523/1.87, allocations: 1.066 MB / 1.629 GB, free: 15.75 MB / 1.311 GB Notification: Performance of simCode: alias equations: time 0.001551/1.872, allocations: 198.6 kB / 1.629 GB, free: 15.73 MB / 1.311 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003725/1.872, allocations: 70.14 kB / 1.629 GB, free: 15.72 MB / 1.311 GB Notification: Performance of SimCode: time 1.543e-06/1.872, allocations: 2.125 kB / 1.629 GB, free: 15.72 MB / 1.311 GB Notification: Performance of Templates: time 0.05357/1.926, allocations: 18.71 MB / 1.647 GB, free: 14.43 MB / 1.311 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: 11.971675150096416]