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) 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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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=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_latest_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_latest_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.001498/0.001498, allocations: 103.9 kB / 16.35 MB, free: 5.875 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.001653/0.001653, allocations: 194.3 kB / 17.3 MB, free: 5.516 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.363/1.363, allocations: 222.9 MB / 241 MB, free: 14.98 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.432/2.432, allocations: 442.6 MB / 0.7165 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00131/0.00131, allocations: 67.75 kB / 0.8773 GB, free: 10.93 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2596/0.2609, allocations: 153 MB / 1.027 GB, free: 2.016 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet): time 0.5971/0.858, allocations: 170.3 MB / 1.193 GB, free: 11.12 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.005487/0.8635, allocations: 6.008 MB / 1.199 GB, free: 6.254 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002101/0.8638, allocations: 11.88 kB / 1.199 GB, free: 6.25 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0004995/0.8643, allocations: 192.8 kB / 1.199 GB, free: 6.082 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.00025/0.8646, allocations: 85.78 kB / 1.199 GB, free: 6.012 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009793/0.8656, allocations: 0.5196 MB / 1.2 GB, free: 5.617 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0003968/0.866, allocations: 410.7 kB / 1.2 GB, free: 5.383 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002289/0.8662, allocations: 137.2 kB / 1.2 GB, free: 5.305 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000265/0.8665, allocations: 191 kB / 1.2 GB, free: 5.195 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001856/0.8667, allocations: 145.2 kB / 1.201 GB, free: 5.109 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 2.605e-05/0.8667, allocations: 17.88 kB / 1.201 GB, free: 5.109 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006356/0.8674, allocations: 463 kB / 1.201 GB, free: 4.852 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 7.919e-05/0.8675, allocations: 72.42 kB / 1.201 GB, free: 4.801 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 9.298e-05/0.8676, allocations: 101.6 kB / 1.201 GB, free: 4.734 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0005317/0.8681, allocations: 454.5 kB / 1.202 GB, free: 4.461 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.8681, allocations: 0 / 1.202 GB, free: 4.461 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.182e-06/0.8681, allocations: 0 / 1.202 GB, free: 4.461 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 5.641e-06/0.8681, allocations: 1.406 kB / 1.202 GB, free: 4.461 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.0005109/0.8687, allocations: 0.5262 MB / 1.202 GB, free: 3.961 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.222e-05/0.8687, allocations: 8.719 kB / 1.202 GB, free: 3.961 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002477/0.869, allocations: 47.56 kB / 1.202 GB, free: 3.941 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000316/0.8693, allocations: 261.8 kB / 1.202 GB, free: 3.68 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001153/0.8694, allocations: 136.2 kB / 1.203 GB, free: 3.539 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.781e-05/0.8694, allocations: 23.12 kB / 1.203 GB, free: 3.531 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003748/0.8698, allocations: 293 kB / 1.203 GB, free: 3.297 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.798e-06/0.8698, allocations: 3.219 kB / 1.203 GB, free: 3.297 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.142e-05/0.8699, allocations: 10.75 kB / 1.203 GB, free: 3.289 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.057e-06/0.8699, allocations: 11.95 kB / 1.203 GB, free: 3.281 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002578/0.8701, allocations: 152.5 kB / 1.203 GB, free: 3.215 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001147/0.8713, allocations: 1.584 MB / 1.205 GB, free: 1.688 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 6.526e-05/0.8714, allocations: 165.1 kB / 1.205 GB, free: 1.516 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.586e-05/0.8714, allocations: 86.52 kB / 1.205 GB, free: 1.43 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.245e-05/0.8714, allocations: 75.28 kB / 1.205 GB, free: 1.355 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.48e-05/0.8715, allocations: 105.8 kB / 1.205 GB, free: 1.242 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=0): time 1.182e-06/0.8715, allocations: 0 / 1.205 GB, free: 1.242 MB / 0.9044 GB Notification: Performance of matching and sorting (n=0): time 8.213e-05/0.8716, allocations: 56.48 kB / 1.205 GB, free: 1.191 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.592e-05/0.8716, allocations: 126.7 kB / 1.205 GB, free: 1.055 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003083/0.8719, allocations: 317.7 kB / 1.205 GB, free: 0.832 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.008e-05/0.8719, allocations: 29.64 kB / 1.205 GB, free: 0.7969 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 9.885e-05/0.872, allocations: 190.1 kB / 1.206 GB, free: 0.6211 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 3.537e-06/0.8721, allocations: 2.938 kB / 1.206 GB, free: 0.6211 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.538e-05/0.8721, allocations: 49.67 kB / 1.206 GB, free: 0.582 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 8.944e-05/0.8722, allocations: 324.7 kB / 1.206 GB, free: 264 kB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.775e-05/0.8723, allocations: 37.75 kB / 1.206 GB, free: 248 kB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001316/0.8724, allocations: 163 kB / 1.206 GB, free: 52 kB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002029/0.8727, allocations: 198.9 kB / 1.206 GB, free: 15.84 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.077e-06/0.8727, allocations: 0 / 1.206 GB, free: 15.84 MB / 0.92 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003555/0.873, allocations: 219.2 kB / 1.207 GB, free: 15.71 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.49e-05/0.873, allocations: 11.17 kB / 1.207 GB, free: 15.71 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.336e-06/0.8731, allocations: 9.031 kB / 1.207 GB, free: 15.7 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.418e-05/0.8731, allocations: 5.094 kB / 1.207 GB, free: 15.7 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001365/0.8732, allocations: 43.64 kB / 1.207 GB, free: 15.69 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.215e-06/0.8732, allocations: 5.906 kB / 1.207 GB, free: 15.69 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001541/0.8734, allocations: 33.84 kB / 1.207 GB, free: 15.67 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.468e-05/0.8734, allocations: 13.97 kB / 1.207 GB, free: 15.66 MB / 0.92 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.0001187/0.8735, allocations: 223.7 kB / 1.207 GB, free: 15.45 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.526e-05/0.8736, allocations: 125 kB / 1.207 GB, free: 15.33 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.271e-05/0.8737, allocations: 125.2 kB / 1.207 GB, free: 15.21 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.273e-05/0.8737, allocations: 179.3 kB / 1.207 GB, free: 15.03 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.72e-05/0.8738, allocations: 184.2 kB / 1.208 GB, free: 14.84 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.907e-05/0.8738, allocations: 184.2 kB / 1.208 GB, free: 14.65 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002653/0.8741, allocations: 482.8 kB / 1.208 GB, free: 14.16 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-05/0.8741, allocations: 101 kB / 1.208 GB, free: 14.05 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.009e-05/0.8742, allocations: 101 kB / 1.208 GB, free: 13.95 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.403e-05/0.8742, allocations: 187.7 kB / 1.209 GB, free: 13.76 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.909e-05/0.8743, allocations: 181.3 kB / 1.209 GB, free: 13.57 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.066e-05/0.8743, allocations: 188.4 kB / 1.209 GB, free: 13.38 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.635e-05/0.8744, allocations: 180.3 kB / 1.209 GB, free: 13.2 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001181/0.8745, allocations: 319.9 kB / 1.209 GB, free: 12.88 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001009/0.8746, allocations: 209.9 kB / 1.21 GB, free: 12.65 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.24e-05/0.8747, allocations: 188.1 kB / 1.21 GB, free: 12.46 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001139/0.8748, allocations: 107.8 kB / 1.21 GB, free: 12.35 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.733e-05/0.8749, allocations: 176.3 kB / 1.21 GB, free: 12.17 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.824e-05/0.8749, allocations: 108.1 kB / 1.21 GB, free: 12.06 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0001935/0.8751, allocations: 216.7 kB / 1.21 GB, free: 11.92 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8751, allocations: 4 kB / 1.21 GB, free: 11.92 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0003217/0.8754, allocations: 49.69 kB / 1.21 GB, free: 11.91 MB / 0.92 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.0002184/0.8757, allocations: 211.2 kB / 1.211 GB, free: 11.73 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0001649/0.8758, allocations: 77.81 kB / 1.211 GB, free: 11.7 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.8758, allocations: 1.25 kB / 1.211 GB, free: 11.7 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 2.555e-06/0.8759, allocations: 6.531 kB / 1.211 GB, free: 11.69 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004178/0.8763, allocations: 482.6 kB / 1.211 GB, free: 11.23 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004633/0.8767, allocations: 403.4 kB / 1.212 GB, free: 10.91 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002804/0.877, allocations: 0.7389 MB / 1.212 GB, free: 10.18 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0001091/0.8772, allocations: 43.12 kB / 1.212 GB, free: 10.15 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.427e-05/0.8772, allocations: 18.09 kB / 1.212 GB, free: 10.14 MB / 0.92 GB Notification: Performance of SimCode: time 2.21e-07/0.8772, allocations: 0 / 1.212 GB, free: 10.14 MB / 0.92 GB Notification: Performance of Templates: time 0.139/1.016, allocations: 1.815 MB / 1.214 GB, free: 9.242 MB / 0.92 GB make -j1 -f Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.makefile (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=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe 2>&1) 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/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches