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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001887/0.001887, allocations: 104.2 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002141/0.002141, allocations: 188.6 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.419/1.419, allocations: 225.6 MB / 247.8 MB, free: 3.738 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.829/2.829, allocations: 497.2 MB / 0.7811 GB, free: 11.96 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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: "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent,fileNamePrefix="Buildings_latest_Buildings_Fluid_Interfaces_Examples_ConservationEquationSensibleLatent",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent,fileNamePrefix="Buildings_latest_Buildings_Fluid_Interfaces_Examples_ConservationEquationSensibleLatent",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001934/0.001934, allocations: 63.89 kB / 1.134 GB, free: 13.18 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9235/0.9255, allocations: 173.9 MB / 1.304 GB, free: 32.11 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent): time 0.19/1.115, allocations: 160.7 MB / 1.461 GB, free: 11.38 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.00687/1.122, allocations: 3.83 MB / 1.465 GB, free: 8.656 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007828/1.123, allocations: 16.84 kB / 1.465 GB, free: 8.648 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0008941/1.124, allocations: 189.4 kB / 1.465 GB, free: 8.539 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.003322/1.127, allocations: 0.874 MB / 1.466 GB, free: 8.074 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.001523/1.129, allocations: 430.1 kB / 1.466 GB, free: 7.867 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.002019/1.131, allocations: 1.015 MB / 1.467 GB, free: 7.426 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006913/1.132, allocations: 254.3 kB / 1.467 GB, free: 7.32 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001862/1.133, allocations: 0.5926 MB / 1.468 GB, free: 7.055 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001361/1.135, allocations: 336.5 kB / 1.468 GB, free: 6.926 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.000139/1.135, allocations: 30.25 kB / 1.468 GB, free: 6.926 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002003/1.137, allocations: 0.7474 MB / 1.469 GB, free: 6.641 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0003835/1.137, allocations: 165.7 kB / 1.469 GB, free: 6.574 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0006117/1.138, allocations: 211.1 kB / 1.469 GB, free: 6.457 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.002232/1.14, allocations: 0.7638 MB / 1.47 GB, free: 6.18 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/1.14, allocations: 0 / 1.47 GB, free: 6.18 MB / 1.154 GB Notification: Performance of FrontEnd: time 2.053e-06/1.14, allocations: 0.6562 kB / 1.47 GB, free: 6.18 MB / 1.154 GB Notification: Performance of Transformations before backend: time 2.79e-05/1.14, allocations: 1.719 kB / 1.47 GB, free: 6.18 MB / 1.154 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.002119/1.142, allocations: 0.7483 MB / 1.471 GB, free: 5.586 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 5.095e-05/1.142, allocations: 8.75 kB / 1.471 GB, free: 5.586 MB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001651/1.143, allocations: 65.61 kB / 1.471 GB, free: 5.523 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001325/1.144, allocations: 152.3 kB / 1.471 GB, free: 5.453 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009315/1.145, allocations: 401.5 kB / 1.471 GB, free: 5.109 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.384e-05/1.145, allocations: 26.31 kB / 1.471 GB, free: 5.098 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.072e-05/1.145, allocations: 28.47 kB / 1.471 GB, free: 5.09 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006893/1.146, allocations: 326.6 kB / 1.472 GB, free: 4.902 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.847e-05/1.146, allocations: 0 / 1.472 GB, free: 4.902 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.875e-05/1.146, allocations: 14.66 kB / 1.472 GB, free: 4.891 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.069e-05/1.146, allocations: 7.062 kB / 1.472 GB, free: 4.891 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006203/1.146, allocations: 311.8 kB / 1.472 GB, free: 4.746 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002295/1.149, allocations: 1.203 MB / 1.473 GB, free: 3.719 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005541/1.149, allocations: 278.5 kB / 1.474 GB, free: 3.566 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003142/1.149, allocations: 176.1 kB / 1.474 GB, free: 3.48 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003306/1.15, allocations: 195 kB / 1.474 GB, free: 3.277 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.052e-05/1.15, allocations: 33.31 kB / 1.474 GB, free: 3.238 MB / 1.154 GB Notification: Performance of pre-optimization done (n=33): time 3.386e-06/1.15, allocations: 0 / 1.474 GB, free: 3.238 MB / 1.154 GB Notification: Performance of matching and sorting (n=35): time 0.002535/1.152, allocations: 1.052 MB / 1.475 GB, free: 2.562 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.552e-05/1.152, allocations: 55.22 kB / 1.475 GB, free: 2.5 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004276/1.153, allocations: 313.2 kB / 1.475 GB, free: 2.305 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 5.768e-05/1.153, allocations: 36.42 kB / 1.475 GB, free: 2.266 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001486/1.153, allocations: 181.5 kB / 1.475 GB, free: 2.098 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001446/1.153, allocations: 130.3 kB / 1.476 GB, free: 1.984 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001158/1.153, allocations: 59.42 kB / 1.476 GB, free: 1.945 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001717/1.153, allocations: 347.4 kB / 1.476 GB, free: 1.605 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002459/1.154, allocations: 112.3 kB / 1.476 GB, free: 1.555 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002895/1.154, allocations: 161 kB / 1.476 GB, free: 1.465 MB / 1.154 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.001922/1.156, allocations: 0.7546 MB / 1.477 GB, free: 1.043 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/1.156, allocations: 4 kB / 1.477 GB, free: 1.039 MB / 1.154 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0007517/1.157, allocations: 358.6 kB / 1.477 GB, free: 0.8555 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.168e-05/1.157, allocations: 6.781 kB / 1.477 GB, free: 0.8555 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.065e-05/1.157, allocations: 5.188 kB / 1.477 GB, free: 0.8516 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.007e-05/1.157, allocations: 4.75 kB / 1.477 GB, free: 0.8477 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003338/1.157, allocations: 63.62 kB / 1.477 GB, free: 0.8359 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.092e-05/1.157, allocations: 1.875 kB / 1.477 GB, free: 0.8359 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004349/1.158, allocations: 19.2 kB / 1.477 GB, free: 0.8242 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.851e-05/1.158, allocations: 13.03 kB / 1.477 GB, free: 0.8203 MB / 1.154 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.0002948/1.158, allocations: 173.2 kB / 1.478 GB, free: 0.668 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001112/1.158, allocations: 42.59 kB / 1.478 GB, free: 0.6445 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001457/1.158, allocations: 56.97 kB / 1.478 GB, free: 0.5977 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.992e-06/1.158, allocations: 4.75 kB / 1.478 GB, free: 0.5977 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.897e-06/1.158, allocations: 0 / 1.478 GB, free: 0.5977 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000666/1.159, allocations: 408.6 kB / 1.478 GB, free: 324 kB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002094/1.161, allocations: 1.064 MB / 1.479 GB, free: 15.49 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.608e-06/1.161, allocations: 5 kB / 1.479 GB, free: 15.49 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003913/1.161, allocations: 82.89 kB / 1.479 GB, free: 15.47 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.949e-06/1.161, allocations: 5.469 kB / 1.479 GB, free: 15.47 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.433e-05/1.161, allocations: 14.81 kB / 1.479 GB, free: 15.46 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.284e-05/1.161, allocations: 17.17 kB / 1.479 GB, free: 15.45 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.66e-06/1.161, allocations: 4.156 kB / 1.479 GB, free: 15.45 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00123/1.163, allocations: 0.6818 MB / 1.48 GB, free: 14.96 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003916/1.163, allocations: 149.8 kB / 1.48 GB, free: 14.82 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001135/1.163, allocations: 19.02 kB / 1.48 GB, free: 14.8 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004202/1.163, allocations: 19.08 kB / 1.48 GB, free: 14.8 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000108/1.164, allocations: 41.92 kB / 1.48 GB, free: 14.77 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.595e-05/1.164, allocations: 16.38 kB / 1.48 GB, free: 14.77 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0003699/1.164, allocations: 229.2 kB / 1.48 GB, free: 14.62 MB / 1.17 GB Notification: Performance of sort global known variables: time 1e-07/1.164, allocations: 3.938 kB / 1.48 GB, free: 14.61 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0007481/1.165, allocations: 114 kB / 1.481 GB, free: 14.6 MB / 1.17 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.002025/1.167, allocations: 1.296 MB / 1.482 GB, free: 13.53 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.0007226/1.168, allocations: 283.9 kB / 1.482 GB, free: 13.41 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 7.975e-06/1.168, allocations: 1.375 kB / 1.482 GB, free: 13.41 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.0003344/1.168, allocations: 164.4 kB / 1.482 GB, free: 13.34 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001458/1.169, allocations: 221.2 kB / 1.482 GB, free: 13.22 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006665/1.176, allocations: 3.688 MB / 1.486 GB, free: 10.57 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006596/1.177, allocations: 0.8291 MB / 1.487 GB, free: 9.809 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.0005249/1.177, allocations: 97.52 kB / 1.487 GB, free: 9.766 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002614/1.177, allocations: 121.1 kB / 1.487 GB, free: 9.672 MB / 1.17 GB Notification: Performance of SimCode: time 1.533e-06/1.177, allocations: 3.938 kB / 1.487 GB, free: 9.668 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0462/1.224, allocations: 11.26 MB / 1.498 GB, free: 292 kB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.594/9.818, allocations: 11.94 kB / 1.498 GB, free: 284 kB / 1.17 GB " [Timeout remaining time 290] (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_2/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: 16.011560345999897]