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.001319/0.001319, allocations: 103.1 kB / 16.27 MB, free: 5.965 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.001341/0.001341, allocations: 191 kB / 17.2 MB, free: 5.59 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.466/1.466, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.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.626/2.626, allocations: 437.1 MB / 0.711 GB, free: 4.496 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001952/0.001952, allocations: 71.67 kB / 0.8699 GB, free: 2.184 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3669/0.3689, allocations: 151.6 MB / 1.018 GB, free: 10.64 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet): time 0.9411/1.31, allocations: 170.3 MB / 1.184 GB, free: 5.492 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.008176/1.318, allocations: 5.995 MB / 1.19 GB, free: 0.6328 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004404/1.319, allocations: 5.938 kB / 1.19 GB, free: 0.6328 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0007287/1.319, allocations: 193.7 kB / 1.19 GB, free: 476 kB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0003727/1.32, allocations: 89.56 kB / 1.19 GB, free: 400 kB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.001588/1.322, allocations: 0.5185 MB / 1.191 GB, free: 15.99 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0006105/1.322, allocations: 416.2 kB / 1.191 GB, free: 15.76 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003133/1.323, allocations: 133.1 kB / 1.191 GB, free: 15.68 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003655/1.323, allocations: 191.5 kB / 1.192 GB, free: 15.57 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002498/1.323, allocations: 141.5 kB / 1.192 GB, free: 15.49 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 3.774e-05/1.323, allocations: 21.09 kB / 1.192 GB, free: 15.49 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000986/1.324, allocations: 464.5 kB / 1.192 GB, free: 15.23 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0001101/1.324, allocations: 69.16 kB / 1.192 GB, free: 15.18 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0001331/1.324, allocations: 111.6 kB / 1.192 GB, free: 15.11 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0007003/1.325, allocations: 433.2 kB / 1.193 GB, free: 14.85 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/1.325, allocations: 3.938 kB / 1.193 GB, free: 14.84 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.595e-06/1.325, allocations: 2.938 kB / 1.193 GB, free: 14.84 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 7.144e-06/1.325, allocations: 0 / 1.193 GB, free: 14.84 MB / 0.9044 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.0007065/1.326, allocations: 0.5243 MB / 1.193 GB, free: 14.34 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.928e-05/1.326, allocations: 13.02 kB / 1.193 GB, free: 14.34 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003011/1.326, allocations: 41.42 kB / 1.193 GB, free: 14.32 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003229/1.327, allocations: 250.2 kB / 1.194 GB, free: 14.07 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001586/1.327, allocations: 131.1 kB / 1.194 GB, free: 13.93 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.358e-05/1.327, allocations: 24.47 kB / 1.194 GB, free: 13.93 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000469/1.327, allocations: 294 kB / 1.194 GB, free: 13.69 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.341e-05/1.327, allocations: 3.938 kB / 1.194 GB, free: 13.69 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.622e-05/1.327, allocations: 10.81 kB / 1.194 GB, free: 13.68 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.977e-06/1.327, allocations: 7.219 kB / 1.194 GB, free: 13.68 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002938/1.328, allocations: 162.8 kB / 1.194 GB, free: 13.6 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001507/1.329, allocations: 1.582 MB / 1.196 GB, free: 12.08 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000107/1.329, allocations: 169.1 kB / 1.196 GB, free: 11.9 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.569e-05/1.329, allocations: 84.14 kB / 1.196 GB, free: 11.82 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 3.967e-05/1.329, allocations: 75.28 kB / 1.196 GB, free: 11.74 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.014e-05/1.329, allocations: 108.2 kB / 1.196 GB, free: 11.63 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=0): time 1.022e-06/1.329, allocations: 0 / 1.196 GB, free: 11.63 MB / 0.9044 GB Notification: Performance of matching and sorting (n=0): time 0.0001216/1.33, allocations: 53.23 kB / 1.196 GB, free: 11.58 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.408e-05/1.33, allocations: 126.7 kB / 1.196 GB, free: 11.44 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003916/1.33, allocations: 316.3 kB / 1.197 GB, free: 11.23 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.62e-05/1.33, allocations: 29.64 kB / 1.197 GB, free: 11.2 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001677/1.33, allocations: 187.7 kB / 1.197 GB, free: 11.02 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 7.765e-06/1.33, allocations: 7.984 kB / 1.197 GB, free: 11.02 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.919e-05/1.33, allocations: 48.5 kB / 1.197 GB, free: 10.98 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001592/1.331, allocations: 336.1 kB / 1.197 GB, free: 10.64 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.732e-05/1.331, allocations: 37.44 kB / 1.197 GB, free: 10.63 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001751/1.331, allocations: 154.2 kB / 1.197 GB, free: 10.45 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002521/1.331, allocations: 199.8 kB / 1.198 GB, free: 10.23 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/1.331, allocations: 2.5 kB / 1.198 GB, free: 10.23 MB / 0.9044 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004156/1.332, allocations: 215 kB / 1.198 GB, free: 10.1 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/1.332, allocations: 7.156 kB / 1.198 GB, free: 10.1 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.033e-05/1.332, allocations: 9.469 kB / 1.198 GB, free: 10.1 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.004e-05/1.332, allocations: 4.531 kB / 1.198 GB, free: 10.1 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001616/1.332, allocations: 38.11 kB / 1.198 GB, free: 10.09 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.29e-05/1.332, allocations: 10.56 kB / 1.198 GB, free: 10.09 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001697/1.332, allocations: 36.25 kB / 1.198 GB, free: 10.06 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.891e-05/1.332, allocations: 15.52 kB / 1.198 GB, free: 10.05 MB / 0.9044 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.0001701/1.332, allocations: 216.2 kB / 1.198 GB, free: 9.848 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.869e-05/1.332, allocations: 126.1 kB / 1.198 GB, free: 9.727 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.903e-05/1.332, allocations: 128.5 kB / 1.198 GB, free: 9.602 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.664e-05/1.332, allocations: 180.2 kB / 1.199 GB, free: 9.418 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.525e-05/1.333, allocations: 188 kB / 1.199 GB, free: 9.23 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.986e-05/1.333, allocations: 180.2 kB / 1.199 GB, free: 9.047 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003629/1.333, allocations: 476.3 kB / 1.199 GB, free: 8.555 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.449e-05/1.333, allocations: 106.6 kB / 1.2 GB, free: 8.445 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.877e-05/1.333, allocations: 101 kB / 1.2 GB, free: 8.34 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.026e-05/1.333, allocations: 182.2 kB / 1.2 GB, free: 8.156 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.948e-05/1.333, allocations: 198.3 kB / 1.2 GB, free: 7.961 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.58e-05/1.333, allocations: 176.5 kB / 1.2 GB, free: 7.781 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.971e-05/1.333, allocations: 184.2 kB / 1.2 GB, free: 7.594 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002073/1.334, allocations: 324 kB / 1.201 GB, free: 7.266 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001518/1.334, allocations: 209.3 kB / 1.201 GB, free: 7.043 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001118/1.334, allocations: 180.2 kB / 1.201 GB, free: 6.859 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001391/1.334, allocations: 110.6 kB / 1.201 GB, free: 6.746 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.831e-05/1.334, allocations: 178.5 kB / 1.201 GB, free: 6.566 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.398e-05/1.334, allocations: 104.9 kB / 1.201 GB, free: 6.457 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0002657/1.334, allocations: 225.2 kB / 1.202 GB, free: 6.309 MB / 0.9044 GB Notification: Performance of sort global known variables: time 2.11e-07/1.335, allocations: 4 kB / 1.202 GB, free: 6.305 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0003928/1.335, allocations: 47.19 kB / 1.202 GB, free: 6.301 MB / 0.9044 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.0003469/1.335, allocations: 214.8 kB / 1.202 GB, free: 6.117 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0002092/1.335, allocations: 75.47 kB / 1.202 GB, free: 6.086 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/1.335, allocations: 1.25 kB / 1.202 GB, free: 6.086 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 1.463e-06/1.335, allocations: 0 / 1.202 GB, free: 6.086 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005626/1.336, allocations: 480.2 kB / 1.202 GB, free: 5.621 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000656/1.337, allocations: 430.5 kB / 1.203 GB, free: 5.273 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003958/1.337, allocations: 0.7419 MB / 1.203 GB, free: 4.543 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.619e-05/1.337, allocations: 18.25 kB / 1.204 GB, free: 4.535 MB / 0.9044 GB Notification: Performance of SimCode: time 2.41e-07/1.337, allocations: 0 / 1.204 GB, free: 4.535 MB / 0.9044 GB Notification: Performance of Templates: time 0.005794/1.343, allocations: 2.831 MB / 1.206 GB, free: 3.07 MB / 0.9044 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=400 -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/jenkins1/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