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.001464/0.001464, allocations: 107.6 kB / 18.95 MB, free: 2.805 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.001688/0.001688, allocations: 213.1 kB / 22.24 MB, free: 5.117 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.322/1.322, allocations: 230.6 MB / 256 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 179] 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 2.945/2.945, allocations: 0.5107 GB / 0.8158 GB, free: 17.77 MB / 0.6231 GB " [Timeout remaining time 177] 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="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: 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.001903/0.001903, allocations: 63.48 kB / 1.186 GB, free: 13.75 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3232/0.3251, allocations: 181.9 MB / 1.363 GB, free: 14.02 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent): time 0.1655/0.4906, allocations: 141.1 MB / 1.501 GB, free: 424 kB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.005162/0.4958, allocations: 3.547 MB / 1.505 GB, free: 12.86 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002643/0.496, allocations: 15.88 kB / 1.505 GB, free: 12.84 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.0005856/0.4966, allocations: 186.7 kB / 1.505 GB, free: 12.66 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.001939/0.4985, allocations: 0.8635 MB / 1.506 GB, free: 11.79 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009471/0.4995, allocations: 437.9 kB / 1.506 GB, free: 11.37 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.001252/0.5007, allocations: 1.038 MB / 1.507 GB, free: 10.32 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003755/0.5011, allocations: 241.1 kB / 1.507 GB, free: 10.09 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001094/0.5022, allocations: 0.5955 MB / 1.508 GB, free: 9.488 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000842/0.5031, allocations: 337.7 kB / 1.508 GB, free: 9.16 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 6.052e-05/0.5031, allocations: 28 kB / 1.508 GB, free: 9.133 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001024/0.5041, allocations: 0.596 MB / 1.509 GB, free: 8.535 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0001944/0.5043, allocations: 167.5 kB / 1.509 GB, free: 8.371 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0002018/0.5045, allocations: 179.2 kB / 1.509 GB, free: 8.195 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.0009957/0.5055, allocations: 0.7357 MB / 1.51 GB, free: 7.457 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.5055, allocations: 0 / 1.51 GB, free: 7.457 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.132e-06/0.5055, allocations: 3.938 kB / 1.51 GB, free: 7.453 MB / 1.201 GB Notification: Performance of Transformations before backend: time 1.154e-05/0.5056, allocations: 4 kB / 1.51 GB, free: 7.449 MB / 1.201 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.001122/0.5067, allocations: 0.6759 MB / 1.511 GB, free: 6.742 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 3.977e-05/0.5067, allocations: 8.031 kB / 1.511 GB, free: 6.734 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.995e-05/0.5068, allocations: 66.53 kB / 1.511 GB, free: 6.66 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009691/0.5078, allocations: 151.6 kB / 1.511 GB, free: 6.512 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006549/0.5084, allocations: 336.2 kB / 1.511 GB, free: 6.156 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.076e-05/0.5085, allocations: 32.66 kB / 1.511 GB, free: 6.125 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.038e-05/0.5085, allocations: 28 kB / 1.511 GB, free: 6.098 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006364/0.5091, allocations: 432.8 kB / 1.512 GB, free: 5.645 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.558e-05/0.5092, allocations: 0 / 1.512 GB, free: 5.645 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.372e-05/0.5092, allocations: 12 kB / 1.512 GB, free: 5.633 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.241e-05/0.5092, allocations: 8 kB / 1.512 GB, free: 5.625 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005613/0.5098, allocations: 306.3 kB / 1.512 GB, free: 5.324 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00164/0.5114, allocations: 0.8743 MB / 1.513 GB, free: 4.402 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004808/0.5119, allocations: 271.4 kB / 1.513 GB, free: 4.129 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002941/0.5122, allocations: 173.3 kB / 1.513 GB, free: 3.957 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001989/0.5124, allocations: 36.27 kB / 1.513 GB, free: 3.922 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.848e-05/0.5124, allocations: 38.78 kB / 1.513 GB, free: 3.875 MB / 1.201 GB Notification: Performance of pre-optimization done (n=33): time 1.553e-06/0.5124, allocations: 0 / 1.513 GB, free: 3.875 MB / 1.201 GB Notification: Performance of matching and sorting (n=35): time 0.002048/0.5145, allocations: 0.9702 MB / 1.514 GB, free: 2.871 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.313e-05/0.5145, allocations: 55.41 kB / 1.514 GB, free: 2.805 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003411/0.5149, allocations: 320.5 kB / 1.515 GB, free: 2.484 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 3.786e-05/0.5149, allocations: 33.7 kB / 1.515 GB, free: 2.445 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001377/0.515, allocations: 176.8 kB / 1.515 GB, free: 2.27 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.000116/0.5151, allocations: 122.9 kB / 1.515 GB, free: 2.148 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001075/0.5153, allocations: 69.66 kB / 1.515 GB, free: 2.074 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001726/0.5154, allocations: 342.8 kB / 1.515 GB, free: 1.73 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002234/0.5157, allocations: 123.9 kB / 1.515 GB, free: 1.609 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003358/0.516, allocations: 261 kB / 1.516 GB, free: 1.32 MB / 1.201 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.001737/0.5177, allocations: 0.6867 MB / 1.516 GB, free: 0.6289 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.5177, allocations: 4 kB / 1.516 GB, free: 0.625 MB / 1.201 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0005891/0.5183, allocations: 356.9 kB / 1.517 GB, free: 276 kB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 1.673e-05/0.5183, allocations: 9.812 kB / 1.517 GB, free: 268 kB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.561e-06/0.5183, allocations: 0 / 1.517 GB, free: 268 kB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.651e-05/0.5184, allocations: 7.938 kB / 1.517 GB, free: 260 kB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003032/0.5187, allocations: 67.91 kB / 1.517 GB, free: 192 kB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.789e-06/0.5187, allocations: 3.984 kB / 1.517 GB, free: 188 kB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003127/0.519, allocations: 19.98 kB / 1.517 GB, free: 168 kB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.573e-05/0.519, allocations: 15.98 kB / 1.517 GB, free: 152 kB / 1.201 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.0002096/0.5192, allocations: 169.8 kB / 1.517 GB, free: 15.97 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.267e-05/0.5193, allocations: 39.77 kB / 1.517 GB, free: 15.93 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001048/0.5194, allocations: 52 kB / 1.517 GB, free: 15.88 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.538e-06/0.5194, allocations: 4 kB / 1.517 GB, free: 15.88 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.5194, allocations: 0 / 1.517 GB, free: 15.88 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005883/0.52, allocations: 412.2 kB / 1.517 GB, free: 15.45 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001655/0.5217, allocations: 0.9801 MB / 1.518 GB, free: 14.37 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-06/0.5217, allocations: 4 kB / 1.518 GB, free: 14.37 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003507/0.522, allocations: 83.83 kB / 1.518 GB, free: 14.29 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.553e-06/0.522, allocations: 4 kB / 1.518 GB, free: 14.28 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.671e-05/0.522, allocations: 12 kB / 1.518 GB, free: 14.27 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.141e-05/0.5221, allocations: 15.92 kB / 1.518 GB, free: 14.25 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.933e-06/0.5221, allocations: 7.938 kB / 1.518 GB, free: 14.25 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009575/0.523, allocations: 0.6844 MB / 1.519 GB, free: 13.5 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00018/0.5232, allocations: 63.73 kB / 1.519 GB, free: 13.44 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.882e-05/0.5233, allocations: 23.92 kB / 1.519 GB, free: 13.41 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003155/0.5236, allocations: 12 kB / 1.519 GB, free: 13.4 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.017e-05/0.5237, allocations: 35.83 kB / 1.519 GB, free: 13.37 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.855e-05/0.5237, allocations: 20 kB / 1.519 GB, free: 13.35 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0002423/0.5239, allocations: 231 kB / 1.519 GB, free: 13.12 MB / 1.217 GB Notification: Performance of sort global known variables: time 9e-08/0.5239, allocations: 0 / 1.519 GB, free: 13.12 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.0004402/0.5244, allocations: 115.9 kB / 1.52 GB, free: 13.01 MB / 1.217 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.00144/0.5258, allocations: 1.28 MB / 1.521 GB, free: 11.65 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.0005969/0.5264, allocations: 295.5 kB / 1.521 GB, free: 11.36 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 5.049e-06/0.5264, allocations: 4 kB / 1.521 GB, free: 11.36 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.0002855/0.5267, allocations: 161.5 kB / 1.521 GB, free: 11.2 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001108/0.5278, allocations: 215.5 kB / 1.521 GB, free: 10.99 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004853/0.5327, allocations: 3.678 MB / 1.525 GB, free: 7.145 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002285/0.5329, allocations: 226.2 kB / 1.525 GB, free: 6.906 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0003294/0.5332, allocations: 107.2 kB / 1.525 GB, free: 6.801 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002099/0.5334, allocations: 119.4 kB / 1.526 GB, free: 6.684 MB / 1.217 GB Notification: Performance of SimCode: time 4.3e-07/0.5334, allocations: 0 / 1.526 GB, free: 6.684 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04451/0.5779, allocations: 12.47 MB / 1.538 GB, free: 10.52 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.4/10.98, allocations: 6.578 kB / 1.538 GB, free: 10.52 MB / 1.232 GB " [Timeout remaining time 289] (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: 17.02823142427951]