Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.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.001854/0.001854, allocations: 99.64 kB / 18.94 MB, free: 2.551 MB / 14.72 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.002869/0.002869, allocations: 213.7 kB / 22.25 MB, free: 4.855 MB / 14.72 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.708/1.708, allocations: 230.6 MB / 256 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.69/3.69, allocations: 0.4892 GB / 0.7943 GB, free: 35.62 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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.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_12_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_12_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002148/0.002148, allocations: 69 kB / 1.154 GB, free: 25.47 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4893/0.4914, allocations: 176.1 MB / 1.326 GB, free: 1.859 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet): time 0.2371/0.7285, allocations: 150.5 MB / 1.473 GB, free: 10.75 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.009364/0.7379, allocations: 5.515 MB / 1.478 GB, free: 5.223 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006805/0.7386, allocations: 7.938 kB / 1.478 GB, free: 5.215 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.001123/0.7397, allocations: 194.7 kB / 1.478 GB, free: 5.023 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.0007222/0.7404, allocations: 99.38 kB / 1.478 GB, free: 4.926 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.002359/0.7428, allocations: 0.5217 MB / 1.479 GB, free: 4.402 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.0009578/0.7437, allocations: 410.7 kB / 1.479 GB, free: 4 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003672/0.7441, allocations: 88.16 kB / 1.479 GB, free: 3.906 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005747/0.7447, allocations: 203.2 kB / 1.479 GB, free: 3.707 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004419/0.7451, allocations: 139.4 kB / 1.48 GB, free: 3.57 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 6.226e-05/0.7452, allocations: 16 kB / 1.48 GB, free: 3.555 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001113/0.7463, allocations: 382.8 kB / 1.48 GB, free: 3.18 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0001547/0.7464, allocations: 75.7 kB / 1.48 GB, free: 3.105 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0001383/0.7466, allocations: 83.59 kB / 1.48 GB, free: 3.023 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.001109/0.7477, allocations: 458.3 kB / 1.48 GB, free: 2.574 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 6.121e-06/0.7477, allocations: 0 / 1.48 GB, free: 2.574 MB / 1.17 GB Notification: Performance of FrontEnd: time 2.415e-06/0.7477, allocations: 0 / 1.48 GB, free: 2.574 MB / 1.17 GB Notification: Performance of Transformations before backend: time 1.347e-05/0.7477, allocations: 0 / 1.48 GB, free: 2.574 MB / 1.17 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.001014/0.7487, allocations: 449.3 kB / 1.481 GB, free: 2.105 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 5.309e-05/0.7488, allocations: 12.03 kB / 1.481 GB, free: 2.094 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003978/0.7492, allocations: 43.84 kB / 1.481 GB, free: 2.051 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006566/0.7498, allocations: 208.7 kB / 1.481 GB, free: 1.82 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002879/0.7501, allocations: 238.1 kB / 1.481 GB, free: 1.535 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.39e-05/0.7502, allocations: 20 kB / 1.481 GB, free: 1.516 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005938/0.7508, allocations: 305.8 kB / 1.482 GB, free: 1.184 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.903e-05/0.7508, allocations: 0 / 1.482 GB, free: 1.184 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.964e-05/0.7508, allocations: 12 kB / 1.482 GB, free: 1.172 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.172e-05/0.7508, allocations: 7.984 kB / 1.482 GB, free: 1.164 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003602/0.7512, allocations: 164.6 kB / 1.482 GB, free: 1.004 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001807/0.753, allocations: 1.44 MB / 1.483 GB, free: 15.5 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001307/0.7531, allocations: 173.1 kB / 1.483 GB, free: 15.32 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.74e-05/0.7532, allocations: 84.17 kB / 1.484 GB, free: 15.23 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 4.708e-05/0.7532, allocations: 75.28 kB / 1.484 GB, free: 15.16 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.113e-05/0.7533, allocations: 113.8 kB / 1.484 GB, free: 15.04 MB / 1.186 GB Notification: Performance of pre-optimization done (n=0): time 1.793e-06/0.7533, allocations: 0 / 1.484 GB, free: 15.04 MB / 1.186 GB Notification: Performance of matching and sorting (n=0): time 0.0001194/0.7534, allocations: 45.53 kB / 1.484 GB, free: 14.98 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.689e-05/0.7535, allocations: 130.7 kB / 1.484 GB, free: 14.84 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003562/0.7538, allocations: 239 kB / 1.484 GB, free: 14.6 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 1.677e-05/0.7539, allocations: 25.7 kB / 1.484 GB, free: 14.57 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001608/0.754, allocations: 199.6 kB / 1.484 GB, free: 14.36 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 8.075e-06/0.754, allocations: 8 kB / 1.484 GB, free: 14.36 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.358e-05/0.7541, allocations: 45.66 kB / 1.484 GB, free: 14.3 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001632/0.7543, allocations: 318.8 kB / 1.485 GB, free: 13.98 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.877e-05/0.7544, allocations: 35.97 kB / 1.485 GB, free: 13.95 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00021/0.7546, allocations: 166.6 kB / 1.485 GB, free: 13.73 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002741/0.7549, allocations: 196.9 kB / 1.485 GB, free: 13.47 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/0.7549, allocations: 0 / 1.485 GB, free: 13.47 MB / 1.186 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000548/0.7554, allocations: 213.1 kB / 1.485 GB, free: 13.26 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.568e-05/0.7554, allocations: 8 kB / 1.485 GB, free: 13.25 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.258e-05/0.7555, allocations: 11.92 kB / 1.485 GB, free: 13.24 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.827e-05/0.7555, allocations: 11.94 kB / 1.485 GB, free: 13.23 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001729/0.7557, allocations: 35.92 kB / 1.485 GB, free: 13.19 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.317e-05/0.7557, allocations: 8.625 kB / 1.485 GB, free: 13.18 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001742/0.7558, allocations: 35.72 kB / 1.485 GB, free: 13.15 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.739e-05/0.7559, allocations: 8 kB / 1.485 GB, free: 13.14 MB / 1.186 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.0002105/0.7561, allocations: 221.5 kB / 1.486 GB, free: 12.91 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001131/0.7562, allocations: 108.9 kB / 1.486 GB, free: 12.8 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.077e-05/0.7563, allocations: 125.4 kB / 1.486 GB, free: 12.67 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001067/0.7564, allocations: 180.3 kB / 1.486 GB, free: 12.49 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001029/0.7565, allocations: 180.3 kB / 1.486 GB, free: 12.3 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.648e-05/0.7566, allocations: 188.2 kB / 1.486 GB, free: 12.11 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003369/0.7569, allocations: 408.8 kB / 1.487 GB, free: 11.68 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.904e-05/0.757, allocations: 113 kB / 1.487 GB, free: 11.56 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.102e-05/0.757, allocations: 108.9 kB / 1.487 GB, free: 11.45 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.405e-05/0.7571, allocations: 180.3 kB / 1.487 GB, free: 11.26 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.919e-05/0.7572, allocations: 180.2 kB / 1.487 GB, free: 11.08 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.726e-05/0.7573, allocations: 180.2 kB / 1.487 GB, free: 10.89 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.153e-05/0.7574, allocations: 180.3 kB / 1.488 GB, free: 10.71 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002219/0.7576, allocations: 319.7 kB / 1.488 GB, free: 10.38 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001069/0.7577, allocations: 124.9 kB / 1.488 GB, free: 10.25 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001047/0.7578, allocations: 176.3 kB / 1.488 GB, free: 10.07 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001382/0.7579, allocations: 104.9 kB / 1.488 GB, free: 9.957 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000116/0.7581, allocations: 184.2 kB / 1.488 GB, free: 9.77 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.671e-05/0.7581, allocations: 105 kB / 1.489 GB, free: 9.66 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0002016/0.7583, allocations: 168.2 kB / 1.489 GB, free: 9.496 MB / 1.186 GB Notification: Performance of sort global known variables: time 7e-08/0.7583, allocations: 0 / 1.489 GB, free: 9.496 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0004622/0.7588, allocations: 63.78 kB / 1.489 GB, free: 9.434 MB / 1.186 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.00033/0.7591, allocations: 206.4 kB / 1.489 GB, free: 9.223 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.0002284/0.7593, allocations: 71.78 kB / 1.489 GB, free: 9.152 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.7593, allocations: 0 / 1.489 GB, free: 9.152 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 4.078e-06/0.7594, allocations: 3.938 kB / 1.489 GB, free: 9.148 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004708/0.7598, allocations: 464.9 kB / 1.49 GB, free: 8.691 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007364/0.7606, allocations: 396.9 kB / 1.49 GB, free: 8.273 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001675/0.7607, allocations: 132.7 kB / 1.49 GB, free: 8.125 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0001227/0.7609, allocations: 25.42 kB / 1.49 GB, free: 8.098 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.584e-05/0.7609, allocations: 15.44 kB / 1.49 GB, free: 8.086 MB / 1.186 GB Notification: Performance of SimCode: time 5.41e-07/0.7609, allocations: 0 / 1.49 GB, free: 8.086 MB / 1.186 GB Notification: Performance of Templates: time 0.005257/0.7662, allocations: 1.393 MB / 1.491 GB, free: 6.703 MB / 1.186 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe ; mkfifo Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe >> ../files/Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.sim & ./Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_FMI_Conversion_Validation_AirToOutlet.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 11.087959999218583]