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.001376/0.001376, allocations: 98.08 kB / 19.73 MB, free: 2.23 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.001516/0.001516, allocations: 220 kB / 23.04 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.312/1.312, allocations: 230.6 MB / 256.8 MB, free: 7.98 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.867/2.867, allocations: 0.5003 GB / 0.8061 GB, free: 26.68 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="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.001826/0.001826, allocations: 69.05 kB / 1.171 GB, free: 19.77 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2925/0.2943, allocations: 179 MB / 1.345 GB, free: 388 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent): time 0.1754/0.4697, allocations: 163.7 MB / 1.505 GB, free: 12.08 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.00507/0.4748, allocations: 3.847 MB / 1.509 GB, free: 8.227 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003004/0.4751, allocations: 19.81 kB / 1.509 GB, free: 8.207 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.0005775/0.4756, allocations: 194.7 kB / 1.509 GB, free: 8.016 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.00191/0.4776, allocations: 0.8868 MB / 1.51 GB, free: 7.125 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009316/0.4785, allocations: 452.3 kB / 1.51 GB, free: 6.688 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.001232/0.4797, allocations: 1.054 MB / 1.511 GB, free: 5.629 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003743/0.4801, allocations: 233.1 kB / 1.512 GB, free: 5.395 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00104/0.4811, allocations: 0.6189 MB / 1.512 GB, free: 4.773 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008072/0.4819, allocations: 336.4 kB / 1.513 GB, free: 4.445 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 5.37e-05/0.482, allocations: 32 kB / 1.513 GB, free: 4.414 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001172/0.4832, allocations: 0.7638 MB / 1.513 GB, free: 3.648 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0001784/0.4833, allocations: 163.5 kB / 1.514 GB, free: 3.488 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0002133/0.4836, allocations: 210.9 kB / 1.514 GB, free: 3.281 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.0009915/0.4845, allocations: 0.7629 MB / 1.514 GB, free: 2.516 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 3.217e-06/0.4845, allocations: 0 / 1.514 GB, free: 2.516 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.392e-06/0.4845, allocations: 0 / 1.514 GB, free: 2.516 MB / 1.201 GB Notification: Performance of Transformations before backend: time 1.043e-05/0.4846, allocations: 0 / 1.514 GB, free: 2.516 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.00106/0.4856, allocations: 0.6797 MB / 1.515 GB, free: 1.805 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 3.635e-05/0.4857, allocations: 12.03 kB / 1.515 GB, free: 1.793 MB / 1.201 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.607e-05/0.4857, allocations: 4.656 kB / 1.515 GB, free: 1.789 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.969e-05/0.4857, allocations: 66.55 kB / 1.515 GB, free: 1.715 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009857/0.4867, allocations: 159.5 kB / 1.515 GB, free: 1.559 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005736/0.4873, allocations: 336.2 kB / 1.516 GB, free: 1.207 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.455e-05/0.4873, allocations: 20.66 kB / 1.516 GB, free: 1.188 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.574e-05/0.4874, allocations: 28 kB / 1.516 GB, free: 1.16 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000562/0.4879, allocations: 326 kB / 1.516 GB, free: 0.832 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.474e-05/0.488, allocations: 3.984 kB / 1.516 GB, free: 0.8281 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.284e-05/0.488, allocations: 12 kB / 1.516 GB, free: 0.8164 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.106e-05/0.488, allocations: 8 kB / 1.516 GB, free: 0.8086 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005257/0.4885, allocations: 310.4 kB / 1.516 GB, free: 0.5078 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001661/0.4902, allocations: 1.166 MB / 1.518 GB, free: 15.24 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004734/0.4907, allocations: 283.3 kB / 1.518 GB, free: 14.95 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002797/0.4909, allocations: 170.5 kB / 1.518 GB, free: 14.79 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001847/0.4911, allocations: 40.25 kB / 1.518 GB, free: 14.75 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.153e-05/0.4912, allocations: 38.84 kB / 1.518 GB, free: 14.7 MB / 1.217 GB Notification: Performance of pre-optimization done (n=33): time 1.352e-06/0.4912, allocations: 0 / 1.518 GB, free: 14.7 MB / 1.217 GB Notification: Performance of matching and sorting (n=35): time 0.001962/0.4931, allocations: 0.9626 MB / 1.519 GB, free: 13.7 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.96e-05/0.4932, allocations: 55.41 kB / 1.519 GB, free: 13.64 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003181/0.4935, allocations: 316.5 kB / 1.519 GB, free: 13.32 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 3.807e-05/0.4935, allocations: 33.7 kB / 1.519 GB, free: 13.28 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.000127/0.4936, allocations: 184.8 kB / 1.52 GB, free: 13.09 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001117/0.4938, allocations: 126.9 kB / 1.52 GB, free: 12.97 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001012/0.4939, allocations: 61.7 kB / 1.52 GB, free: 12.9 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001457/0.494, allocations: 346.7 kB / 1.52 GB, free: 12.55 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000224/0.4942, allocations: 115.9 kB / 1.52 GB, free: 12.44 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002804/0.4945, allocations: 158.5 kB / 1.52 GB, free: 12.28 MB / 1.217 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.001689/0.4962, allocations: 0.6824 MB / 1.521 GB, free: 11.59 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.4962, allocations: 0 / 1.521 GB, free: 11.59 MB / 1.217 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0005935/0.4968, allocations: 361 kB / 1.521 GB, free: 11.23 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 1.557e-05/0.4968, allocations: 8 kB / 1.521 GB, free: 11.22 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.471e-06/0.4968, allocations: 3.938 kB / 1.521 GB, free: 11.22 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.167e-05/0.4968, allocations: 0 / 1.521 GB, free: 11.22 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002954/0.4971, allocations: 71.84 kB / 1.521 GB, free: 11.15 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.293e-05/0.4971, allocations: 4 kB / 1.521 GB, free: 11.14 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003025/0.4974, allocations: 11.98 kB / 1.521 GB, free: 11.13 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.746e-05/0.4975, allocations: 16 kB / 1.521 GB, free: 11.12 MB / 1.217 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.0001921/0.4977, allocations: 177.7 kB / 1.522 GB, free: 10.93 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.761e-05/0.4977, allocations: 39.77 kB / 1.522 GB, free: 10.89 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001053/0.4978, allocations: 52 kB / 1.522 GB, free: 10.84 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-06/0.4979, allocations: 7.984 kB / 1.522 GB, free: 10.84 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.4979, allocations: 4 kB / 1.522 GB, free: 10.83 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006125/0.4985, allocations: 416.3 kB / 1.522 GB, free: 10.39 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001654/0.5001, allocations: 1.034 MB / 1.523 GB, free: 9.266 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.19e-06/0.5001, allocations: 4 kB / 1.523 GB, free: 9.262 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000358/0.5005, allocations: 84.36 kB / 1.523 GB, free: 9.18 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.821e-06/0.5005, allocations: 4 kB / 1.523 GB, free: 9.176 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.79e-05/0.5005, allocations: 19.94 kB / 1.523 GB, free: 9.156 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.085e-06/0.5005, allocations: 7.938 kB / 1.523 GB, free: 9.148 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/0.5005, allocations: 4 kB / 1.523 GB, free: 9.145 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009391/0.5015, allocations: 0.6835 MB / 1.524 GB, free: 8.398 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001612/0.5016, allocations: 71.72 kB / 1.524 GB, free: 8.328 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.448e-05/0.5017, allocations: 15.92 kB / 1.524 GB, free: 8.312 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003151/0.502, allocations: 16 kB / 1.524 GB, free: 8.297 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.092e-05/0.5021, allocations: 39.89 kB / 1.524 GB, free: 8.258 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.39e-05/0.5021, allocations: 19.98 kB / 1.524 GB, free: 8.238 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.000228/0.5023, allocations: 231 kB / 1.524 GB, free: 8.016 MB / 1.217 GB Notification: Performance of sort global known variables: time 6e-08/0.5023, allocations: 0 / 1.524 GB, free: 8.016 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.0004304/0.5028, allocations: 107.9 kB / 1.524 GB, free: 7.91 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.001374/0.5041, allocations: 1.283 MB / 1.526 GB, free: 6.551 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.0005592/0.5047, allocations: 299.7 kB / 1.526 GB, free: 6.258 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 4.649e-06/0.5047, allocations: 4 kB / 1.526 GB, free: 6.254 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.0002746/0.505, allocations: 155.7 kB / 1.526 GB, free: 6.102 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001126/0.5061, allocations: 233 kB / 1.526 GB, free: 5.883 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004646/0.5108, allocations: 3.692 MB / 1.53 GB, free: 2.012 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004564/0.5112, allocations: 0.8235 MB / 1.531 GB, free: 1.164 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0002952/0.5115, allocations: 103.2 kB / 1.531 GB, free: 1.062 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001929/0.5117, allocations: 119.4 kB / 1.531 GB, free: 0.9453 MB / 1.217 GB Notification: Performance of SimCode: time 8.01e-07/0.5117, allocations: 0 / 1.531 GB, free: 0.9453 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03476/0.5465, allocations: 11.53 MB / 1.542 GB, free: 5.645 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.81/11.35, allocations: 5.969 kB / 1.542 GB, free: 5.641 MB / 1.232 GB " [Timeout remaining time 288] (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.367909974011127]