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.00244/0.00244, allocations: 85.48 kB / 19.44 MB, free: 344 kB / 13.93 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.002928/0.002928, allocations: 169.2 kB / 22.76 MB, free: 1.664 MB / 18.57 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.707/1.707, allocations: 177.1 MB / 203.1 MB, free: 5.137 MB / 186.7 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.523/3.523, allocations: 429.5 MB / 0.6729 GB, free: 3.996 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.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: Performance of FrontEnd - loaded program: time 2.675e-06/2.675e-06, allocations: 0 / 0.8775 GB, free: 6.684 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.151e-05/4.418e-05, allocations: 5.406 kB / 0.8775 GB, free: 6.68 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal): time 1.111/1.112, allocations: 248.5 MB / 1.12 GB, free: 46.85 MB / 1.01 GB Notification: Performance of NFInst.instExpressions: time 0.03843/1.15, allocations: 24.02 MB / 1.144 GB, free: 46.29 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003321/1.153, allocations: 89.16 kB / 1.144 GB, free: 46.29 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.003779/1.157, allocations: 1.011 MB / 1.145 GB, free: 46.19 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.007105/1.164, allocations: 1.594 MB / 1.146 GB, free: 45.88 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.008698/1.173, allocations: 2.501 MB / 1.149 GB, free: 45.68 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.006104/1.179, allocations: 2.857 MB / 1.151 GB, free: 44.96 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00168/1.181, allocations: 1.012 MB / 1.152 GB, free: 44.36 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004743/1.185, allocations: 2.119 MB / 1.154 GB, free: 43.59 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001763/1.187, allocations: 0.8215 MB / 1.155 GB, free: 43.41 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 0.0002467/1.187, allocations: 115.4 kB / 1.155 GB, free: 43.41 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004079/1.191, allocations: 1.422 MB / 1.157 GB, free: 43.1 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0004591/1.192, allocations: 427.3 kB / 1.157 GB, free: 42.89 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.0007263/1.193, allocations: 476.5 kB / 1.158 GB, free: 42.71 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.004869/1.198, allocations: 2.467 MB / 1.16 GB, free: 42.02 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 6.072e-06/1.198, allocations: 0 / 1.16 GB, free: 42.02 MB / 1.01 GB Notification: Performance of FrontEnd: time 2.976e-06/1.198, allocations: 0 / 1.16 GB, free: 42.02 MB / 1.01 GB Notification: Performance of Transformations before backend: time 3.028e-05/1.198, allocations: 0.9062 kB / 1.16 GB, free: 42.02 MB / 1.01 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.00316/1.201, allocations: 1.786 MB / 1.162 GB, free: 40.81 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 4.819e-05/1.201, allocations: 14.06 kB / 1.162 GB, free: 40.81 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001397/1.202, allocations: 364.8 kB / 1.162 GB, free: 40.66 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001734/1.204, allocations: 1.018 MB / 1.163 GB, free: 40.16 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001847/1.204, allocations: 304.9 kB / 1.163 GB, free: 39.87 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001269/1.204, allocations: 101.7 kB / 1.164 GB, free: 39.84 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001361/1.206, allocations: 0.879 MB / 1.164 GB, free: 39.41 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.695e-05/1.206, allocations: 3.312 kB / 1.164 GB, free: 39.41 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.422e-05/1.206, allocations: 34.88 kB / 1.164 GB, free: 39.39 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.544e-05/1.206, allocations: 22 kB / 1.164 GB, free: 39.39 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009617/1.207, allocations: 479.7 kB / 1.165 GB, free: 39.25 MB / 1.01 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.004133/1.211, allocations: 3.547 MB / 1.168 GB, free: 36.96 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003116/1.211, allocations: 134.9 kB / 1.169 GB, free: 36.89 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00014/1.211, allocations: 94.95 kB / 1.169 GB, free: 36.84 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005449/1.212, allocations: 137.6 kB / 1.169 GB, free: 36.82 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.234e-05/1.212, allocations: 33.39 kB / 1.169 GB, free: 36.77 MB / 1.01 GB Notification: Performance of pre-optimization done (n=24): time 2.094e-06/1.212, allocations: 0 / 1.169 GB, free: 36.77 MB / 1.01 GB Notification: Performance of matching and sorting (n=24): time 0.0009267/1.213, allocations: 361.6 kB / 1.169 GB, free: 36.61 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.666e-05/1.213, allocations: 53.84 kB / 1.169 GB, free: 36.55 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001161/1.214, allocations: 1.099 MB / 1.17 GB, free: 36.02 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 3.247e-05/1.214, allocations: 41.2 kB / 1.17 GB, free: 35.97 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.000389/1.214, allocations: 0.7038 MB / 1.171 GB, free: 35.43 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 5.817e-05/1.214, allocations: 91.75 kB / 1.171 GB, free: 35.36 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002176/1.215, allocations: 198.6 kB / 1.171 GB, free: 35.26 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.000104/1.215, allocations: 0.5184 MB / 1.172 GB, free: 34.76 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002284/1.215, allocations: 124.2 kB / 1.172 GB, free: 34.72 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005554/1.216, allocations: 1.154 MB / 1.173 GB, free: 33.36 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006681/1.216, allocations: 0.8898 MB / 1.174 GB, free: 32.46 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.452e-06/1.216, allocations: 3.656 kB / 1.174 GB, free: 32.46 MB / 1.01 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.0009844/1.217, allocations: 0.7247 MB / 1.175 GB, free: 32.23 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 2.323e-05/1.217, allocations: 15.59 kB / 1.175 GB, free: 32.23 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.501e-05/1.217, allocations: 11.84 kB / 1.175 GB, free: 32.23 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.982e-05/1.217, allocations: 20.53 kB / 1.175 GB, free: 32.23 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004537/1.218, allocations: 153.2 kB / 1.175 GB, free: 32.22 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.281e-05/1.218, allocations: 28.3 kB / 1.175 GB, free: 32.22 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005482/1.218, allocations: 89.17 kB / 1.175 GB, free: 32.17 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.285e-05/1.218, allocations: 40.97 kB / 1.175 GB, free: 32.16 MB / 1.01 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 64 * 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 (84): * Single equations (assignments): 84 * 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.0003108/1.219, allocations: 316.3 kB / 1.175 GB, free: 31.92 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001208/1.219, allocations: 95.75 kB / 1.175 GB, free: 31.87 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005929/1.219, allocations: 346.9 kB / 1.176 GB, free: 31.68 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.278e-05/1.219, allocations: 7.078 kB / 1.176 GB, free: 31.68 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.638e-06/1.219, allocations: 3.234 kB / 1.176 GB, free: 31.68 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/1.219, allocations: 0 / 1.176 GB, free: 31.68 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001981/1.221, allocations: 1.564 MB / 1.177 GB, free: 30.72 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.672e-06/1.221, allocations: 3.281 kB / 1.177 GB, free: 30.72 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001602/1.222, allocations: 46.58 kB / 1.177 GB, free: 30.71 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.432e-06/1.222, allocations: 6.969 kB / 1.177 GB, free: 30.71 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.204e-05/1.222, allocations: 11.23 kB / 1.177 GB, free: 30.71 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.18e-06/1.222, allocations: 10 kB / 1.177 GB, free: 30.71 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.312e-06/1.222, allocations: 11.97 kB / 1.177 GB, free: 30.71 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005292/1.222, allocations: 0.5749 MB / 1.178 GB, free: 30.2 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002293/1.222, allocations: 123.7 kB / 1.178 GB, free: 30.13 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.694e-05/1.222, allocations: 9.75 kB / 1.178 GB, free: 30.12 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002799/1.223, allocations: 10.09 kB / 1.178 GB, free: 30.12 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.815e-05/1.223, allocations: 31.05 kB / 1.178 GB, free: 30.11 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.36e-05/1.223, allocations: 15.16 kB / 1.178 GB, free: 30.11 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0007222/1.224, allocations: 0.6524 MB / 1.179 GB, free: 29.8 MB / 1.01 GB Notification: Performance of sort global known variables: time 1.9e-07/1.224, allocations: 0 / 1.179 GB, free: 29.8 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.001281/1.225, allocations: 349.2 kB / 1.179 GB, free: 29.7 MB / 1.01 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.000552/1.225, allocations: 313.5 kB / 1.179 GB, free: 29.55 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.000647/1.226, allocations: 400.5 kB / 1.18 GB, free: 29.45 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 1.278e-05/1.226, allocations: 0 / 1.18 GB, free: 29.45 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0001648/1.226, allocations: 116.1 kB / 1.18 GB, free: 29.41 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001303/1.227, allocations: 286.8 kB / 1.18 GB, free: 29.33 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002064/1.23, allocations: 1.72 MB / 1.182 GB, free: 28.22 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004101/1.23, allocations: 0.4942 MB / 1.182 GB, free: 28.07 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0004614/1.23, allocations: 154.2 kB / 1.182 GB, free: 28.03 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001225/1.231, allocations: 58.61 kB / 1.182 GB, free: 28.02 MB / 1.01 GB Notification: Performance of SimCode: time 1.153e-06/1.231, allocations: 0 / 1.182 GB, free: 28.02 MB / 1.01 GB Notification: Performance of Templates: time 0.02207/1.253, allocations: 12.42 MB / 1.195 GB, free: 26.34 MB / 1.01 GB " [Timeout remaining time 299] 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe 2>&1) [Timeout 240] 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/jenkins/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: 10.850752884987742]