Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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=5000,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_10_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet") translateModel(Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_10_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008976/0.008976, allocations: 97.62 kB / 15.73 MB, free: 6.059 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00183/0.00183, allocations: 197.3 kB / 16.68 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.518/1.518, allocations: 222.9 MB / 240.4 MB, free: 4.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.731/2.731, allocations: 437 MB / 0.7105 GB, free: 5.027 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001534/0.001534, allocations: 67.84 kB / 1.019 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3501/0.3516, allocations: 151.6 MB / 1.167 GB, free: 6.855 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet): time 1.046/1.397, allocations: 170.3 MB / 1.333 GB, free: 1.375 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.007307/1.405, allocations: 6.001 MB / 1.339 GB, free: 13.05 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004265/1.405, allocations: 5.875 kB / 1.339 GB, free: 13.05 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.000689/1.406, allocations: 194 kB / 1.339 GB, free: 12.93 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.000352/1.406, allocations: 95.88 kB / 1.339 GB, free: 12.86 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001586/1.408, allocations: 0.5275 MB / 1.34 GB, free: 12.6 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0005754/1.409, allocations: 414.8 kB / 1.34 GB, free: 12.41 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003628/1.409, allocations: 137.8 kB / 1.34 GB, free: 12.35 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000424/1.409, allocations: 198.9 kB / 1.34 GB, free: 12.25 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002331/1.41, allocations: 150.2 kB / 1.34 GB, free: 12.19 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.503e-05/1.41, allocations: 17.53 kB / 1.34 GB, free: 12.19 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000908/1.411, allocations: 463.6 kB / 1.341 GB, free: 12 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001082/1.411, allocations: 63.23 kB / 1.341 GB, free: 11.97 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001156/1.411, allocations: 104 kB / 1.341 GB, free: 11.91 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0007595/1.412, allocations: 456 kB / 1.342 GB, free: 11.75 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.541e-06/1.412, allocations: 0 / 1.342 GB, free: 11.75 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.465e-06/1.412, allocations: 0 / 1.342 GB, free: 11.75 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.073e-06/1.412, allocations: 0 / 1.342 GB, free: 11.75 MB / 1.029 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.0007105/1.412, allocations: 0.5244 MB / 1.342 GB, free: 11.28 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.297e-05/1.412, allocations: 17.91 kB / 1.342 GB, free: 11.27 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003038/1.413, allocations: 47.06 kB / 1.342 GB, free: 11.25 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004516/1.413, allocations: 261.7 kB / 1.342 GB, free: 11.02 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001481/1.413, allocations: 140.7 kB / 1.342 GB, free: 10.88 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.011e-05/1.413, allocations: 22.53 kB / 1.342 GB, free: 10.87 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004875/1.414, allocations: 293.6 kB / 1.343 GB, free: 10.67 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.324e-05/1.414, allocations: 1.219 kB / 1.343 GB, free: 10.67 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.608e-05/1.414, allocations: 10.97 kB / 1.343 GB, free: 10.66 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.12e-05/1.414, allocations: 6 kB / 1.343 GB, free: 10.66 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003132/1.414, allocations: 158.3 kB / 1.343 GB, free: 10.61 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001454/1.416, allocations: 1.594 MB / 1.345 GB, free: 9.172 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 9.239e-05/1.416, allocations: 166.9 kB / 1.345 GB, free: 9 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.294e-05/1.416, allocations: 80.14 kB / 1.345 GB, free: 8.918 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.482e-05/1.416, allocations: 75.28 kB / 1.345 GB, free: 8.844 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.506e-05/1.416, allocations: 109.6 kB / 1.345 GB, free: 8.73 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 3.136e-06/1.416, allocations: 4 kB / 1.345 GB, free: 8.727 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 0.0001053/1.416, allocations: 50.3 kB / 1.345 GB, free: 8.68 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.17e-05/1.416, allocations: 131.8 kB / 1.345 GB, free: 8.539 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004093/1.417, allocations: 305.2 kB / 1.345 GB, free: 8.367 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.406e-05/1.417, allocations: 25.7 kB / 1.345 GB, free: 8.336 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001426/1.417, allocations: 199.8 kB / 1.346 GB, free: 8.164 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.889e-06/1.417, allocations: 1.25 kB / 1.346 GB, free: 8.164 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.938e-05/1.417, allocations: 48.58 kB / 1.346 GB, free: 8.129 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001353/1.417, allocations: 333.5 kB / 1.346 GB, free: 7.805 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.949e-05/1.417, allocations: 35 kB / 1.346 GB, free: 7.797 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001715/1.417, allocations: 169.2 kB / 1.346 GB, free: 7.613 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002399/1.417, allocations: 196.9 kB / 1.346 GB, free: 7.406 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/1.417, allocations: 1.156 kB / 1.346 GB, free: 7.406 MB / 1.029 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000409/1.418, allocations: 213.9 kB / 1.347 GB, free: 7.305 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.245e-05/1.418, allocations: 12.05 kB / 1.347 GB, free: 7.305 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.648e-06/1.418, allocations: 11.75 kB / 1.347 GB, free: 7.297 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.956e-05/1.418, allocations: 10.59 kB / 1.347 GB, free: 7.293 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001585/1.418, allocations: 42.02 kB / 1.347 GB, free: 7.285 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.236e-05/1.418, allocations: 5.188 kB / 1.347 GB, free: 7.285 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001677/1.418, allocations: 29.83 kB / 1.347 GB, free: 7.266 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.835e-05/1.418, allocations: 17.02 kB / 1.347 GB, free: 7.262 MB / 1.029 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.000146/1.418, allocations: 217 kB / 1.347 GB, free: 7.055 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.394e-05/1.419, allocations: 122.9 kB / 1.347 GB, free: 6.938 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.305e-05/1.419, allocations: 127.7 kB / 1.347 GB, free: 6.816 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.584e-05/1.419, allocations: 180.5 kB / 1.347 GB, free: 6.637 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.967e-05/1.419, allocations: 181.8 kB / 1.347 GB, free: 6.453 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.472e-05/1.419, allocations: 181.7 kB / 1.348 GB, free: 6.27 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003256/1.419, allocations: 479.9 kB / 1.348 GB, free: 5.801 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.728e-05/1.419, allocations: 108.8 kB / 1.348 GB, free: 5.691 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.379e-05/1.419, allocations: 102.1 kB / 1.348 GB, free: 5.586 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.674e-05/1.419, allocations: 185.4 kB / 1.348 GB, free: 5.402 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.04e-05/1.419, allocations: 186.4 kB / 1.349 GB, free: 5.215 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.745e-05/1.42, allocations: 185.7 kB / 1.349 GB, free: 5.027 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.823e-05/1.42, allocations: 177.6 kB / 1.349 GB, free: 4.848 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001577/1.42, allocations: 324.4 kB / 1.349 GB, free: 4.52 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001296/1.42, allocations: 210.3 kB / 1.35 GB, free: 4.301 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.389e-05/1.42, allocations: 195.4 kB / 1.35 GB, free: 4.105 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001141/1.42, allocations: 101 kB / 1.35 GB, free: 4 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.229e-05/1.42, allocations: 183.9 kB / 1.35 GB, free: 3.816 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.905e-05/1.42, allocations: 105.8 kB / 1.35 GB, free: 3.707 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0002587/1.42, allocations: 222.9 kB / 1.35 GB, free: 3.586 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.4e-07/1.42, allocations: 0 / 1.35 GB, free: 3.586 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003997/1.421, allocations: 46.94 kB / 1.35 GB, free: 3.582 MB / 1.029 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.0003213/1.421, allocations: 206 kB / 1.351 GB, free: 3.414 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002287/1.421, allocations: 82.81 kB / 1.351 GB, free: 3.387 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/1.421, allocations: 4.125 kB / 1.351 GB, free: 3.383 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 2.344e-06/1.421, allocations: 1.531 kB / 1.351 GB, free: 3.383 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005114/1.422, allocations: 479 kB / 1.351 GB, free: 2.926 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006452/1.423, allocations: 396.3 kB / 1.351 GB, free: 2.633 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003402/1.423, allocations: 0.7397 MB / 1.352 GB, free: 1.93 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001223/1.423, allocations: 34.38 kB / 1.352 GB, free: 1.922 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.529e-05/1.423, allocations: 17.91 kB / 1.352 GB, free: 1.914 MB / 1.029 GB Notification: Performance of SimCode: time 3.4e-07/1.423, allocations: 0 / 1.352 GB, free: 1.914 MB / 1.029 GB Notification: Performance of Templates: time 0.005349/1.429, allocations: 1.853 MB / 1.354 GB, free: 1.715 MB / 1.029 GB make -j1 -f Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.makefile (rm -f Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe ; mkfifo Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe >> ../files/Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.sim & ./Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_FMI_Conversion_Validation_AirToOutlet.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches