Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.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.001662/0.001662, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.001998/0.001998, allocations: 214 kB / 23.03 MB, free: 4.922 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.459/1.459, allocations: 230.6 MB / 256.8 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.194/3.194, allocations: 0.5003 GB / 0.8062 GB, free: 28.27 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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: "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent,fileNamePrefix="Buildings_latest_Buildings_Fluid_Interfaces_Examples_ConservationEquationSensibleLatent",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent,fileNamePrefix="Buildings_latest_Buildings_Fluid_Interfaces_Examples_ConservationEquationSensibleLatent",fmuType="cs",version="2.0",platforms={"static"}) [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.001889/0.001889, allocations: 65.75 kB / 1.17 GB, free: 19.55 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3424/0.3443, allocations: 179 MB / 1.345 GB, free: 15.92 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent): time 0.179/0.5233, allocations: 141 MB / 1.483 GB, free: 2.402 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.005376/0.5287, allocations: 3.542 MB / 1.486 GB, free: 14.86 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004443/0.5291, allocations: 15.88 kB / 1.486 GB, free: 14.84 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.0006511/0.5298, allocations: 186.7 kB / 1.487 GB, free: 14.66 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.002248/0.532, allocations: 0.8674 MB / 1.487 GB, free: 13.79 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.001059/0.5331, allocations: 440.4 kB / 1.488 GB, free: 13.36 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.001392/0.5345, allocations: 1.053 MB / 1.489 GB, free: 12.3 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003848/0.5349, allocations: 237.1 kB / 1.489 GB, free: 12.06 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001115/0.536, allocations: 0.6034 MB / 1.49 GB, free: 11.46 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008929/0.5369, allocations: 338.7 kB / 1.49 GB, free: 11.12 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 6.602e-05/0.5369, allocations: 32 kB / 1.49 GB, free: 11.09 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001091/0.538, allocations: 0.5999 MB / 1.491 GB, free: 10.49 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0002097/0.5382, allocations: 163.6 kB / 1.491 GB, free: 10.33 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.000226/0.5385, allocations: 183.2 kB / 1.491 GB, free: 10.15 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.001126/0.5396, allocations: 0.7396 MB / 1.492 GB, free: 9.41 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.5396, allocations: 0 / 1.492 GB, free: 9.41 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.433e-06/0.5396, allocations: 3.938 kB / 1.492 GB, free: 9.406 MB / 1.186 GB Notification: Performance of Transformations before backend: time 7.855e-06/0.5396, allocations: 0 / 1.492 GB, free: 9.406 MB / 1.186 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 71 * Number of variables: 71 Notification: Performance of Generate backend data structure: time 0.00117/0.5408, allocations: 0.672 MB / 1.492 GB, free: 8.703 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.071e-05/0.5408, allocations: 8.031 kB / 1.492 GB, free: 8.695 MB / 1.186 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.987e-05/0.5408, allocations: 12.66 kB / 1.492 GB, free: 8.684 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.107e-05/0.5409, allocations: 66.53 kB / 1.492 GB, free: 8.609 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001078/0.542, allocations: 159.5 kB / 1.493 GB, free: 8.453 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006257/0.5426, allocations: 332.2 kB / 1.493 GB, free: 8.105 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.226e-05/0.5427, allocations: 24.66 kB / 1.493 GB, free: 8.082 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.976e-05/0.5427, allocations: 28 kB / 1.493 GB, free: 8.055 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006831/0.5434, allocations: 436.7 kB / 1.493 GB, free: 7.594 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.397e-05/0.5434, allocations: 0 / 1.493 GB, free: 7.594 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.416e-05/0.5434, allocations: 16 kB / 1.493 GB, free: 7.578 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.128e-06/0.5435, allocations: 8 kB / 1.493 GB, free: 7.57 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00056/0.544, allocations: 310.3 kB / 1.494 GB, free: 7.27 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001603/0.5456, allocations: 0.8704 MB / 1.495 GB, free: 6.352 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004881/0.5461, allocations: 265.7 kB / 1.495 GB, free: 6.086 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000282/0.5464, allocations: 174.3 kB / 1.495 GB, free: 5.914 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002071/0.5466, allocations: 36.27 kB / 1.495 GB, free: 5.879 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.632e-05/0.5466, allocations: 42.78 kB / 1.495 GB, free: 5.828 MB / 1.186 GB Notification: Performance of pre-optimization done (n=33): time 1.624e-06/0.5466, allocations: 0 / 1.495 GB, free: 5.828 MB / 1.186 GB Notification: Performance of matching and sorting (n=35): time 0.002124/0.5488, allocations: 0.9626 MB / 1.496 GB, free: 4.832 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.281e-05/0.5488, allocations: 63.34 kB / 1.496 GB, free: 4.758 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003551/0.5492, allocations: 320.5 kB / 1.496 GB, free: 4.434 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 3.481e-05/0.5492, allocations: 29.7 kB / 1.496 GB, free: 4.398 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001409/0.5493, allocations: 180.8 kB / 1.497 GB, free: 4.219 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001155/0.5494, allocations: 122.9 kB / 1.497 GB, free: 4.098 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001216/0.5496, allocations: 61.7 kB / 1.497 GB, free: 4.031 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001707/0.5497, allocations: 346.8 kB / 1.497 GB, free: 3.684 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002268/0.55, allocations: 119.9 kB / 1.497 GB, free: 3.566 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003422/0.5503, allocations: 261.3 kB / 1.497 GB, free: 3.277 MB / 1.186 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: dynBal.medium.p = dynBal.p_start (sin.p = dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.001831/0.5521, allocations: 0.6902 MB / 1.498 GB, free: 2.582 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.5521, allocations: 0 / 1.498 GB, free: 2.582 MB / 1.186 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0006233/0.5528, allocations: 365 kB / 1.498 GB, free: 2.219 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/0.5528, allocations: 4 kB / 1.498 GB, free: 2.215 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.854e-06/0.5528, allocations: 3.938 kB / 1.498 GB, free: 2.211 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.675e-05/0.5528, allocations: 4 kB / 1.498 GB, free: 2.207 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003169/0.5531, allocations: 67.89 kB / 1.499 GB, free: 2.141 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/0.5531, allocations: 4 kB / 1.499 GB, free: 2.137 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003135/0.5534, allocations: 14.84 kB / 1.499 GB, free: 2.125 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.884e-05/0.5535, allocations: 15.98 kB / 1.499 GB, free: 2.109 MB / 1.186 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: dynBal.medium.p = dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (37): * Single equations (assignments): 37 * 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.0002148/0.5537, allocations: 173.8 kB / 1.499 GB, free: 1.93 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.419e-05/0.5538, allocations: 35.77 kB / 1.499 GB, free: 1.895 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001004/0.5539, allocations: 56 kB / 1.499 GB, free: 1.84 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.899e-06/0.5539, allocations: 4 kB / 1.499 GB, free: 1.836 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.5539, allocations: 0 / 1.499 GB, free: 1.836 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005974/0.5545, allocations: 408.4 kB / 1.499 GB, free: 1.406 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001741/0.5562, allocations: 0.9832 MB / 1.5 GB, free: 336 kB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.303e-06/0.5562, allocations: 7.938 kB / 1.5 GB, free: 328 kB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003694/0.5566, allocations: 83.89 kB / 1.5 GB, free: 244 kB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.923e-06/0.5566, allocations: 4.469 kB / 1.5 GB, free: 240 kB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.431e-05/0.5566, allocations: 23.92 kB / 1.5 GB, free: 216 kB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.53e-06/0.5566, allocations: 4 kB / 1.5 GB, free: 212 kB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.63e-06/0.5566, allocations: 7.938 kB / 1.5 GB, free: 204 kB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001015/0.5577, allocations: 0.6835 MB / 1.501 GB, free: 15.45 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001574/0.5578, allocations: 63.73 kB / 1.501 GB, free: 15.39 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.351e-05/0.5579, allocations: 23.92 kB / 1.501 GB, free: 15.37 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003272/0.5582, allocations: 21.42 kB / 1.501 GB, free: 15.35 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.944e-05/0.5583, allocations: 35.83 kB / 1.501 GB, free: 15.31 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.236e-05/0.5583, allocations: 19.98 kB / 1.501 GB, free: 15.29 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0002569/0.5586, allocations: 231 kB / 1.501 GB, free: 15.07 MB / 1.201 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5586, allocations: 0 / 1.501 GB, free: 15.07 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0004631/0.559, allocations: 107.9 kB / 1.501 GB, free: 14.96 MB / 1.201 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 2 (dynBal.medium.Xi[1],dynBal.U) * 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 (35): * Single equations (assignments): 35 * 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.001483/0.5605, allocations: 1.283 MB / 1.503 GB, free: 13.61 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.0005978/0.5611, allocations: 299.6 kB / 1.503 GB, free: 13.31 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.5611, allocations: 0 / 1.503 GB, free: 13.31 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0002858/0.5614, allocations: 162.2 kB / 1.503 GB, free: 13.16 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001139/0.5625, allocations: 227.2 kB / 1.503 GB, free: 12.93 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005068/0.5676, allocations: 3.676 MB / 1.507 GB, free: 9.082 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000249/0.5679, allocations: 218.2 kB / 1.507 GB, free: 8.852 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0003473/0.5682, allocations: 107.2 kB / 1.507 GB, free: 8.75 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002296/0.5684, allocations: 127.4 kB / 1.507 GB, free: 8.625 MB / 1.201 GB Notification: Performance of SimCode: time 7.22e-07/0.5684, allocations: 0 / 1.507 GB, free: 8.625 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03846/0.6069, allocations: 12.15 MB / 1.519 GB, free: 12.78 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.74/12.35, allocations: 7.844 kB / 1.519 GB, free: 12.77 MB / 1.217 GB " [Timeout remaining time 287] (rm -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.pipe >> ../files/Buildings_latest_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Interfaces_Examples_ConservationEquationSensibleLatent_fmu --startTime=0 --stopTime=2700 --stepSize=1.08 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Interfaces_Examples_ConservationEquationSensibleLatent.fmu > Buildings_latest_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Interfaces_Examples_ConservationEquationSensibleLatent.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.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: 19.069804246071726]