Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001648/0.001648, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.002185/0.002185, allocations: 220.4 kB / 23.05 MB, free: 5.074 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.448/1.448, allocations: 230.6 MB / 256.8 MB, free: 7.996 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.699/2.699, allocations: 476.7 MB / 0.7715 GB, free: 4.301 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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: "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent,fileNamePrefix="Buildings_11_Buildings_Fluid_Interfaces_Examples_ConservationEquationSensibleLatent",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent,fileNamePrefix="Buildings_11_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.002005/0.002005, allocations: 67.42 kB / 1.118 GB, free: 8.977 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.331/0.333, allocations: 169.9 MB / 1.284 GB, free: 3.855 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent): time 0.1866/0.5196, allocations: 163.7 MB / 1.444 GB, free: 15.58 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.005899/0.5255, allocations: 3.845 MB / 1.448 GB, free: 11.72 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004226/0.5259, allocations: 19.81 kB / 1.448 GB, free: 11.7 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0006961/0.5266, allocations: 194.7 kB / 1.448 GB, free: 11.51 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.002541/0.5292, allocations: 0.8791 MB / 1.449 GB, free: 10.63 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.001284/0.5305, allocations: 449.7 kB / 1.449 GB, free: 10.2 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.001582/0.532, allocations: 1.054 MB / 1.45 GB, free: 9.141 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004767/0.5325, allocations: 239.5 kB / 1.45 GB, free: 8.902 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008185/0.5333, allocations: 426.3 kB / 1.451 GB, free: 8.484 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001114/0.5345, allocations: 344.7 kB / 1.451 GB, free: 8.148 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 7.279e-05/0.5345, allocations: 32 kB / 1.451 GB, free: 8.117 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001582/0.5361, allocations: 0.7754 MB / 1.452 GB, free: 7.34 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.000247/0.5364, allocations: 167.5 kB / 1.452 GB, free: 7.176 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0002783/0.5366, allocations: 218.9 kB / 1.452 GB, free: 6.961 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.001355/0.538, allocations: 0.7591 MB / 1.453 GB, free: 6.199 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.538, allocations: 0 / 1.453 GB, free: 6.199 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.533e-06/0.538, allocations: 0 / 1.453 GB, free: 6.199 MB / 1.154 GB Notification: Performance of Transformations before backend: time 8.105e-06/0.538, allocations: 0 / 1.453 GB, free: 6.199 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.001194/0.5392, allocations: 0.6758 MB / 1.454 GB, free: 5.492 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.057e-05/0.5392, allocations: 12.03 kB / 1.454 GB, free: 5.48 MB / 1.154 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.222e-05/0.5393, allocations: 8.656 kB / 1.454 GB, free: 5.473 MB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.594e-05/0.5393, allocations: 66.55 kB / 1.454 GB, free: 5.398 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001073/0.5404, allocations: 155.5 kB / 1.454 GB, free: 5.246 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000668/0.5411, allocations: 328.2 kB / 1.454 GB, free: 4.898 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.8e-05/0.5411, allocations: 24.66 kB / 1.454 GB, free: 4.875 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.615e-05/0.5412, allocations: 39.94 kB / 1.454 GB, free: 4.836 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006045/0.5418, allocations: 326 kB / 1.455 GB, free: 4.512 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.492e-05/0.5418, allocations: 0 / 1.455 GB, free: 4.512 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.995e-05/0.5418, allocations: 16 kB / 1.455 GB, free: 4.496 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.286e-06/0.5418, allocations: 4 kB / 1.455 GB, free: 4.492 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006262/0.5425, allocations: 318.3 kB / 1.455 GB, free: 4.18 MB / 1.154 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001905/0.5444, allocations: 1.166 MB / 1.456 GB, free: 2.91 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004977/0.5449, allocations: 281.6 kB / 1.456 GB, free: 2.629 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003019/0.5452, allocations: 174.8 kB / 1.457 GB, free: 2.457 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000214/0.5454, allocations: 36.25 kB / 1.457 GB, free: 2.422 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.534e-05/0.5454, allocations: 34.84 kB / 1.457 GB, free: 2.379 MB / 1.154 GB Notification: Performance of pre-optimization done (n=33): time 1.974e-06/0.5454, allocations: 7.938 kB / 1.457 GB, free: 2.371 MB / 1.154 GB Notification: Performance of matching and sorting (n=35): time 0.002278/0.5477, allocations: 0.9674 MB / 1.458 GB, free: 1.371 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.749e-05/0.5477, allocations: 59.41 kB / 1.458 GB, free: 1.301 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003817/0.5481, allocations: 320.5 kB / 1.458 GB, free: 0.9805 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 3.932e-05/0.5482, allocations: 29.7 kB / 1.458 GB, free: 0.9453 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001362/0.5483, allocations: 176.9 kB / 1.458 GB, free: 0.7656 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001251/0.5484, allocations: 134.8 kB / 1.458 GB, free: 0.6328 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001071/0.5485, allocations: 61.7 kB / 1.458 GB, free: 0.5664 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001593/0.5487, allocations: 346.8 kB / 1.459 GB, free: 224 kB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002323/0.5489, allocations: 111.9 kB / 1.459 GB, free: 112 kB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003097/0.5492, allocations: 168.1 kB / 1.459 GB, free: 15.93 MB / 1.17 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.001784/0.551, allocations: 0.6838 MB / 1.46 GB, free: 15.25 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.551, allocations: 0 / 1.46 GB, free: 15.25 MB / 1.17 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0006389/0.5517, allocations: 353 kB / 1.46 GB, free: 14.89 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.646e-05/0.5517, allocations: 4 kB / 1.46 GB, free: 14.89 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.297e-06/0.5517, allocations: 7.938 kB / 1.46 GB, free: 14.88 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.392e-05/0.5517, allocations: 0 / 1.46 GB, free: 14.88 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003281/0.552, allocations: 71.98 kB / 1.46 GB, free: 14.81 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.233e-06/0.552, allocations: 0 / 1.46 GB, free: 14.81 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003322/0.5524, allocations: 19.97 kB / 1.46 GB, free: 14.79 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.564e-05/0.5524, allocations: 12 kB / 1.46 GB, free: 14.78 MB / 1.17 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.0002174/0.5526, allocations: 170.3 kB / 1.46 GB, free: 14.61 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.104e-05/0.5527, allocations: 39.77 kB / 1.46 GB, free: 14.57 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001172/0.5528, allocations: 56 kB / 1.46 GB, free: 14.51 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.305e-06/0.5528, allocations: 7.984 kB / 1.46 GB, free: 14.5 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.5528, allocations: 4 kB / 1.46 GB, free: 14.5 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005871/0.5534, allocations: 412.3 kB / 1.461 GB, free: 14.07 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001825/0.5552, allocations: 1.033 MB / 1.462 GB, free: 12.94 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.223e-06/0.5553, allocations: 4 kB / 1.462 GB, free: 12.94 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003642/0.5556, allocations: 71.91 kB / 1.462 GB, free: 12.87 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.086e-05/0.5556, allocations: 11.98 kB / 1.462 GB, free: 12.86 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.697e-05/0.5557, allocations: 15.88 kB / 1.462 GB, free: 12.84 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.576e-06/0.5557, allocations: 11.94 kB / 1.462 GB, free: 12.83 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.769e-06/0.5557, allocations: 4 kB / 1.462 GB, free: 12.82 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001035/0.5567, allocations: 0.6898 MB / 1.463 GB, free: 12.07 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001799/0.5569, allocations: 63.73 kB / 1.463 GB, free: 12.01 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.852e-05/0.557, allocations: 27.98 kB / 1.463 GB, free: 11.98 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000339/0.5573, allocations: 16 kB / 1.463 GB, free: 11.97 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.712e-05/0.5574, allocations: 35.83 kB / 1.463 GB, free: 11.93 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.289e-05/0.5574, allocations: 19.98 kB / 1.463 GB, free: 11.91 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0002524/0.5577, allocations: 235 kB / 1.463 GB, free: 11.69 MB / 1.17 GB Notification: Performance of sort global known variables: time 8e-08/0.5577, allocations: 0 / 1.463 GB, free: 11.69 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0005122/0.5582, allocations: 115.9 kB / 1.463 GB, free: 11.57 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.001509/0.5597, allocations: 1.272 MB / 1.464 GB, free: 10.23 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.0006145/0.5603, allocations: 303.7 kB / 1.465 GB, free: 9.93 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 7.434e-06/0.5603, allocations: 4 kB / 1.465 GB, free: 9.926 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.000293/0.5606, allocations: 164.2 kB / 1.465 GB, free: 9.766 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00118/0.5618, allocations: 225.4 kB / 1.465 GB, free: 9.555 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005286/0.5671, allocations: 3.681 MB / 1.468 GB, free: 5.699 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005064/0.5676, allocations: 0.8235 MB / 1.469 GB, free: 4.848 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.0003762/0.568, allocations: 103.2 kB / 1.469 GB, free: 4.742 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002153/0.5682, allocations: 123.4 kB / 1.47 GB, free: 4.621 MB / 1.17 GB Notification: Performance of SimCode: time 1.021e-06/0.5682, allocations: 0 / 1.47 GB, free: 4.621 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03801/0.6062, allocations: 11.52 MB / 1.481 GB, free: 9.355 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.5/12.11, allocations: 5.312 kB / 1.481 GB, free: 9.352 MB / 1.186 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.pipe ; mkfifo Buildings_11_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.pipe >> ../files/Buildings_11_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Interfaces_Examples_ConservationEquationSensibleLatent_fmu --startTime=0 --stopTime=2700 --stepSize=1.08 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_Interfaces_Examples_ConservationEquationSensibleLatent.fmu > Buildings_11_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Interfaces_Examples_ConservationEquationSensibleLatent.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 18.679936110973358]