Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.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.001636/0.001636, allocations: 116.3 kB / 17.08 MB, free: 5.824 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.001825/0.001825, allocations: 194.2 kB / 20.03 MB, free: 2.922 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.508/1.508, allocations: 222.9 MB / 245.7 MB, free: 4.207 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.107/3.107, allocations: 489.3 MB / 0.7687 GB, free: 3.762 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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.AirToOutlet,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.",fileNamePrefix="Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet") translateModel(Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet,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.",fileNamePrefix="Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001977/0.001977, allocations: 75.88 kB / 1.103 GB, free: 0.7539 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.067/1.069, allocations: 163.8 MB / 1.263 GB, free: 7.961 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet): time 0.2465/1.316, allocations: 170.3 MB / 1.429 GB, free: 8.777 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.00796/1.324, allocations: 5.999 MB / 1.435 GB, free: 3.918 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004129/1.324, allocations: 11.31 kB / 1.435 GB, free: 3.914 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.0007351/1.325, allocations: 185.2 kB / 1.435 GB, free: 3.754 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.0003802/1.325, allocations: 92.92 kB / 1.435 GB, free: 3.676 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.001501/1.327, allocations: 0.5153 MB / 1.436 GB, free: 3.285 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.0005877/1.328, allocations: 424.4 kB / 1.436 GB, free: 3.039 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003035/1.328, allocations: 138.9 kB / 1.436 GB, free: 2.953 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003722/1.328, allocations: 189.6 kB / 1.436 GB, free: 2.844 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002433/1.328, allocations: 146.1 kB / 1.436 GB, free: 2.758 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 3.635e-05/1.329, allocations: 16.47 kB / 1.436 GB, free: 2.758 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009301/1.329, allocations: 463.9 kB / 1.437 GB, free: 2.5 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0001032/1.33, allocations: 65.23 kB / 1.437 GB, free: 2.457 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0001276/1.33, allocations: 105.2 kB / 1.437 GB, free: 2.387 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.0007494/1.33, allocations: 461.3 kB / 1.437 GB, free: 2.105 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/1.33, allocations: 0 / 1.437 GB, free: 2.105 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.803e-06/1.331, allocations: 0 / 1.437 GB, free: 2.105 MB / 1.123 GB Notification: Performance of Transformations before backend: time 7.905e-06/1.331, allocations: 0 / 1.437 GB, free: 2.105 MB / 1.123 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.000731/1.331, allocations: 0.5327 MB / 1.438 GB, free: 1.598 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.292e-05/1.331, allocations: 10.19 kB / 1.438 GB, free: 1.598 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002996/1.332, allocations: 45.03 kB / 1.438 GB, free: 1.578 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004311/1.332, allocations: 263.8 kB / 1.438 GB, free: 1.316 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001632/1.332, allocations: 136.7 kB / 1.438 GB, free: 1.176 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.314e-05/1.332, allocations: 22.28 kB / 1.438 GB, free: 1.168 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004894/1.333, allocations: 302.4 kB / 1.439 GB, free: 0.9258 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.194e-05/1.333, allocations: 0.9688 kB / 1.439 GB, free: 0.9258 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.419e-05/1.333, allocations: 11.78 kB / 1.439 GB, free: 0.918 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.598e-06/1.333, allocations: 6.031 kB / 1.439 GB, free: 0.918 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000343/1.333, allocations: 159 kB / 1.439 GB, free: 0.8438 MB / 1.123 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001545/1.335, allocations: 1.586 MB / 1.44 GB, free: 15.32 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001037/1.335, allocations: 173.1 kB / 1.441 GB, free: 15.14 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.14e-05/1.335, allocations: 80.14 kB / 1.441 GB, free: 15.05 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 2.866e-05/1.335, allocations: 76.56 kB / 1.441 GB, free: 14.98 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.642e-05/1.335, allocations: 105.8 kB / 1.441 GB, free: 14.87 MB / 1.139 GB Notification: Performance of pre-optimization done (n=0): time 1.223e-06/1.335, allocations: 1.656 kB / 1.441 GB, free: 14.87 MB / 1.139 GB Notification: Performance of matching and sorting (n=0): time 0.0001139/1.335, allocations: 53.44 kB / 1.441 GB, free: 14.82 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.365e-05/1.335, allocations: 130.7 kB / 1.441 GB, free: 14.68 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003863/1.336, allocations: 308 kB / 1.441 GB, free: 14.47 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 1.544e-05/1.336, allocations: 25.7 kB / 1.441 GB, free: 14.44 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001561/1.336, allocations: 198.8 kB / 1.442 GB, free: 14.26 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 7.605e-06/1.336, allocations: 5.797 kB / 1.442 GB, free: 14.25 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.264e-05/1.336, allocations: 40.52 kB / 1.442 GB, free: 14.22 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.00016/1.336, allocations: 335.3 kB / 1.442 GB, free: 13.89 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.992e-05/1.336, allocations: 43.81 kB / 1.442 GB, free: 13.87 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001907/1.336, allocations: 159 kB / 1.442 GB, free: 13.68 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000256/1.337, allocations: 193.5 kB / 1.442 GB, free: 13.47 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/1.337, allocations: 1.469 kB / 1.442 GB, free: 13.47 MB / 1.139 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004633/1.337, allocations: 220.4 kB / 1.443 GB, free: 13.34 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 2.345e-05/1.337, allocations: 10.91 kB / 1.443 GB, free: 13.34 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.281e-05/1.337, allocations: 4.844 kB / 1.443 GB, free: 13.34 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.566e-05/1.337, allocations: 6.219 kB / 1.443 GB, free: 13.34 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001661/1.337, allocations: 37.45 kB / 1.443 GB, free: 13.33 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.651e-05/1.337, allocations: 17.72 kB / 1.443 GB, free: 13.32 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001758/1.338, allocations: 34.39 kB / 1.443 GB, free: 13.29 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.906e-05/1.338, allocations: 10.19 kB / 1.443 GB, free: 13.29 MB / 1.139 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (20): * Single equations (assignments): 20 * 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.0001722/1.338, allocations: 222.5 kB / 1.443 GB, free: 13.08 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.867e-05/1.338, allocations: 137.8 kB / 1.443 GB, free: 12.95 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.567e-05/1.338, allocations: 120.2 kB / 1.443 GB, free: 12.83 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.249e-05/1.338, allocations: 181.4 kB / 1.443 GB, free: 12.64 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.44e-05/1.338, allocations: 181.4 kB / 1.443 GB, free: 12.46 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.504e-05/1.338, allocations: 177.4 kB / 1.444 GB, free: 12.28 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003777/1.339, allocations: 489 kB / 1.444 GB, free: 11.78 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.53e-05/1.339, allocations: 102.1 kB / 1.444 GB, free: 11.67 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.938e-05/1.339, allocations: 106.2 kB / 1.444 GB, free: 11.56 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.474e-05/1.339, allocations: 189.3 kB / 1.444 GB, free: 11.37 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.759e-05/1.339, allocations: 177.5 kB / 1.445 GB, free: 11.19 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.871e-05/1.339, allocations: 184.1 kB / 1.445 GB, free: 11 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.705e-05/1.339, allocations: 177.4 kB / 1.445 GB, free: 10.82 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001969/1.339, allocations: 327.5 kB / 1.445 GB, free: 10.49 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000145/1.339, allocations: 206.2 kB / 1.445 GB, free: 10.27 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000116/1.34, allocations: 185.2 kB / 1.446 GB, free: 10.09 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001338/1.34, allocations: 106.1 kB / 1.446 GB, free: 9.977 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.18e-05/1.34, allocations: 185.4 kB / 1.446 GB, free: 9.789 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.766e-05/1.34, allocations: 108.9 kB / 1.446 GB, free: 9.676 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0002682/1.34, allocations: 222.4 kB / 1.446 GB, free: 9.527 MB / 1.139 GB Notification: Performance of sort global known variables: time 1.3e-07/1.34, allocations: 0 / 1.446 GB, free: 9.527 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0003854/1.34, allocations: 53.23 kB / 1.446 GB, free: 9.516 MB / 1.139 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (0): * Single equations (assignments): 0 * 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 Backend phase and start with SimCode phase: time 0.0003395/1.341, allocations: 214.1 kB / 1.446 GB, free: 9.332 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.0002258/1.341, allocations: 80.84 kB / 1.447 GB, free: 9.297 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/1.341, allocations: 0 / 1.447 GB, free: 9.297 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 4.338e-06/1.341, allocations: 5.547 kB / 1.447 GB, free: 9.293 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000548/1.342, allocations: 482.8 kB / 1.447 GB, free: 8.832 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006413/1.342, allocations: 415.6 kB / 1.447 GB, free: 8.492 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003744/1.343, allocations: 0.7383 MB / 1.448 GB, free: 7.766 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.17e-05/1.343, allocations: 18.88 kB / 1.448 GB, free: 7.758 MB / 1.139 GB Notification: Performance of SimCode: time 2.4e-07/1.343, allocations: 0 / 1.448 GB, free: 7.758 MB / 1.139 GB Notification: Performance of Templates: time 0.005773/1.349, allocations: 2.845 MB / 1.451 GB, free: 6.273 MB / 1.139 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe >> ../files/Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.sim & ./Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_FMI_Conversion_Validation_AirToOutlet.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.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.676415951922536]