Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001318/0.001318, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.001507/0.001507, allocations: 218.1 kB / 23.01 MB, free: 4.609 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.537/1.537, allocations: 230.6 MB / 256.8 MB, free: 8.055 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.311/3.311, allocations: 0.505 GB / 0.8108 GB, free: 22.08 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_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.002078/0.002078, allocations: 61.7 kB / 1.178 GB, free: 16.87 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4234/0.4255, allocations: 180.2 MB / 1.354 GB, free: 7.988 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal): time 0.3271/0.7525, allocations: 254.2 MB / 1.602 GB, free: 8.879 MB / 1.295 GB Notification: Performance of NFInst.instExpressions: time 0.9693/1.722, allocations: 22.61 MB / 1.624 GB, free: 4.219 MB / 1.295 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002341/1.724, allocations: 80.31 kB / 1.624 GB, free: 4.219 MB / 1.295 GB Notification: Performance of NFTyping.typeComponents: time 0.003013/1.727, allocations: 0.994 MB / 1.625 GB, free: 4.219 MB / 1.295 GB Notification: Performance of NFTyping.typeBindings: time 0.0052/1.732, allocations: 1.534 MB / 1.627 GB, free: 4.168 MB / 1.295 GB Notification: Performance of NFTyping.typeClassSections: time 0.00638/1.739, allocations: 2.029 MB / 1.629 GB, free: 4.102 MB / 1.295 GB Notification: Performance of NFFlatten.flatten: time 0.004998/1.744, allocations: 2.7 MB / 1.632 GB, free: 4.094 MB / 1.295 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001929/1.746, allocations: 0.9832 MB / 1.633 GB, free: 4 MB / 1.295 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004433/1.75, allocations: 1.629 MB / 1.634 GB, free: 3.984 MB / 1.295 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002563/1.753, allocations: 0.9496 MB / 1.635 GB, free: 3.984 MB / 1.295 GB Notification: Performance of NFPackage.collectConstants: time 0.0004788/1.753, allocations: 108.5 kB / 1.635 GB, free: 3.984 MB / 1.295 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005553/1.759, allocations: 1.845 MB / 1.637 GB, free: 3.965 MB / 1.295 GB Notification: Performance of NFScalarize.scalarize: time 0.0008352/1.76, allocations: 389.5 kB / 1.637 GB, free: 3.965 MB / 1.295 GB Notification: Performance of NFVerifyModel.verify: time 0.001971/1.762, allocations: 0.6397 MB / 1.638 GB, free: 3.965 MB / 1.295 GB Notification: Performance of NFConvertDAE.convert: time 0.006533/1.768, allocations: 2.361 MB / 1.64 GB, free: 3.836 MB / 1.295 GB Notification: Performance of FrontEnd - DAE generated: time 8.005e-06/1.768, allocations: 4.156 kB / 1.64 GB, free: 3.836 MB / 1.295 GB Notification: Performance of FrontEnd: time 2.815e-06/1.768, allocations: 1.969 kB / 1.64 GB, free: 3.836 MB / 1.295 GB Notification: Performance of Transformations before backend: time 9.266e-05/1.768, allocations: 0.8438 kB / 1.64 GB, free: 3.836 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.004391/1.773, allocations: 1.438 MB / 1.642 GB, free: 19.1 MB / 1.311 GB Notification: Performance of prepare preOptimizeDAE: time 4.308e-05/1.773, allocations: 10.41 kB / 1.642 GB, free: 19.1 MB / 1.311 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001397/1.774, allocations: 237.4 kB / 1.642 GB, free: 19.03 MB / 1.311 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001865/1.776, allocations: 0.8559 MB / 1.643 GB, free: 18.76 MB / 1.311 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001941/1.776, allocations: 295.4 kB / 1.643 GB, free: 18.51 MB / 1.311 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001248/1.776, allocations: 90.28 kB / 1.643 GB, free: 18.51 MB / 1.311 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001715/1.778, allocations: 0.9275 MB / 1.644 GB, free: 18.38 MB / 1.311 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.602e-05/1.778, allocations: 4.625 kB / 1.644 GB, free: 18.38 MB / 1.311 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.568e-05/1.778, allocations: 36.44 kB / 1.644 GB, free: 18.38 MB / 1.311 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.505e-05/1.778, allocations: 22.16 kB / 1.644 GB, free: 18.38 MB / 1.311 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001184/1.779, allocations: 0.6312 MB / 1.645 GB, free: 18.37 MB / 1.311 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.005897/1.785, allocations: 4.374 MB / 1.649 GB, free: 15.66 MB / 1.311 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004052/1.785, allocations: 181.8 kB / 1.649 GB, free: 15.64 MB / 1.311 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002053/1.786, allocations: 137.9 kB / 1.649 GB, free: 15.63 MB / 1.311 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005923/1.786, allocations: 127.9 kB / 1.649 GB, free: 15.62 MB / 1.311 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.248e-05/1.786, allocations: 34.03 kB / 1.649 GB, free: 15.59 MB / 1.311 GB Notification: Performance of pre-optimization done (n=24): time 3.115e-06/1.786, allocations: 0.5156 kB / 1.649 GB, free: 15.59 MB / 1.311 GB Notification: Performance of matching and sorting (n=24): time 0.001202/1.788, allocations: 479.9 kB / 1.65 GB, free: 15.49 MB / 1.311 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.395e-05/1.788, allocations: 54.41 kB / 1.65 GB, free: 15.43 MB / 1.311 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001652/1.789, allocations: 1.121 MB / 1.651 GB, free: 15.28 MB / 1.311 GB Notification: Performance of collectPreVariables (initialization): time 5.466e-05/1.789, allocations: 32.83 kB / 1.651 GB, free: 15.25 MB / 1.311 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004064/1.79, allocations: 0.5155 MB / 1.652 GB, free: 15.05 MB / 1.311 GB Notification: Performance of collectInitialBindings (initialization): time 6.873e-05/1.79, allocations: 95.55 kB / 1.652 GB, free: 15 MB / 1.311 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001545/1.79, allocations: 95.72 kB / 1.652 GB, free: 14.98 MB / 1.311 GB Notification: Performance of setup shared object (initialization): time 0.0001533/1.79, allocations: 326 kB / 1.652 GB, free: 14.67 MB / 1.311 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002256/1.79, allocations: 132.2 kB / 1.652 GB, free: 14.66 MB / 1.311 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003958/1.791, allocations: 386.6 kB / 1.653 GB, free: 14.38 MB / 1.311 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005254/1.791, allocations: 468.6 kB / 1.653 GB, free: 14.15 MB / 1.311 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.66e-06/1.791, allocations: 5.797 kB / 1.653 GB, free: 14.15 MB / 1.311 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.00103/1.792, allocations: 0.5482 MB / 1.654 GB, free: 14.06 MB / 1.311 GB Notification: Performance of prepare postOptimizeDAE: time 2.337e-05/1.792, allocations: 8.375 kB / 1.654 GB, free: 14.06 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.093e-05/1.792, allocations: 7.828 kB / 1.654 GB, free: 14.06 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.937e-05/1.792, allocations: 11.48 kB / 1.654 GB, free: 14.06 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003752/1.793, allocations: 91.17 kB / 1.654 GB, free: 14.06 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.604e-05/1.793, allocations: 14.02 kB / 1.654 GB, free: 14.06 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007937/1.793, allocations: 97.75 kB / 1.654 GB, free: 14.01 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.001e-05/1.794, allocations: 23 kB / 1.654 GB, free: 14.01 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.0004325/1.794, allocations: 292.8 kB / 1.654 GB, free: 13.88 MB / 1.311 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001489/1.794, allocations: 110.8 kB / 1.654 GB, free: 13.82 MB / 1.311 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007006/1.795, allocations: 427.5 kB / 1.655 GB, free: 13.76 MB / 1.311 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.024e-05/1.795, allocations: 2.312 kB / 1.655 GB, free: 13.76 MB / 1.311 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/1.795, allocations: 4.625 kB / 1.655 GB, free: 13.76 MB / 1.311 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/1.795, allocations: 1.094 kB / 1.655 GB, free: 13.76 MB / 1.311 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002331/1.797, allocations: 1.53 MB / 1.656 GB, free: 13.32 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.067e-06/1.797, allocations: 4.625 kB / 1.656 GB, free: 13.32 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001729/1.797, allocations: 46 kB / 1.656 GB, free: 13.32 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.466e-06/1.797, allocations: 5.625 kB / 1.656 GB, free: 13.32 MB / 1.311 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.295e-05/1.797, allocations: 10.72 kB / 1.656 GB, free: 13.32 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.544e-06/1.797, allocations: 8.469 kB / 1.656 GB, free: 13.32 MB / 1.311 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-05/1.797, allocations: 14.45 kB / 1.656 GB, free: 13.32 MB / 1.311 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007332/1.798, allocations: 0.5906 MB / 1.657 GB, free: 12.98 MB / 1.311 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003949/1.799, allocations: 165.3 kB / 1.657 GB, free: 12.92 MB / 1.311 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001248/1.799, allocations: 7.969 kB / 1.657 GB, free: 12.92 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004223/1.799, allocations: 14.62 kB / 1.657 GB, free: 12.92 MB / 1.311 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.295e-05/1.799, allocations: 33.88 kB / 1.657 GB, free: 12.91 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.727e-05/1.799, allocations: 15.75 kB / 1.657 GB, free: 12.91 MB / 1.311 GB Notification: Performance of sorting global known variables: time 0.001102/1.8, allocations: 0.7876 MB / 1.658 GB, free: 12.8 MB / 1.311 GB Notification: Performance of sort global known variables: time 9.1e-08/1.8, allocations: 1.156 kB / 1.658 GB, free: 12.8 MB / 1.311 GB Notification: Performance of remove unused functions: time 0.001372/1.802, allocations: 288.6 kB / 1.658 GB, free: 12.77 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.0006566/1.802, allocations: 309.7 kB / 1.658 GB, free: 12.65 MB / 1.311 GB Notification: Performance of simCode: created initialization part: time 0.0007267/1.803, allocations: 339 kB / 1.659 GB, free: 12.65 MB / 1.311 GB Notification: Performance of simCode: created event and clocks part: time 5.02e-06/1.803, allocations: 1.281 kB / 1.659 GB, free: 12.65 MB / 1.311 GB Notification: Performance of simCode: created simulation system equations: time 0.0002121/1.803, allocations: 138.8 kB / 1.659 GB, free: 12.65 MB / 1.311 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002517/1.806, allocations: 0.5155 MB / 1.659 GB, free: 12.58 MB / 1.311 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002982/1.809, allocations: 1.653 MB / 1.661 GB, free: 11.75 MB / 1.311 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008103/1.81, allocations: 1.064 MB / 1.662 GB, free: 11.05 MB / 1.311 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003122/1.81, allocations: 79.8 kB / 1.662 GB, free: 11.04 MB / 1.311 GB Notification: Performance of SimCode: time 1.563e-06/1.81, allocations: 2.578 kB / 1.662 GB, free: 11.04 MB / 1.311 GB Notification: Performance of Templates: time 0.0336/1.843, allocations: 17.36 MB / 1.679 GB, free: 9.168 MB / 1.311 GB " [Timeout remaining time 298] make -j1 -f Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe >> ../files/Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.sim & ./Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_FMI_Conversion_Validation_AirToOutletFlowReversal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 16.613948689977406]