Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0009001/0.0009001, allocations: 80.44 kB / 19.17 MB, free: 0.7344 MB / 13.93 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.0008441/0.0008441, allocations: 165.9 kB / 22.45 MB, free: 2.098 MB / 18.57 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 0.8864/0.8864, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.633/1.633, allocations: 377.9 MB / 0.6221 GB, free: 8.684 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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_12_Buildings_Fluid_Interfaces_Examples_ConservationEquationSensibleLatent",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent,fileNamePrefix="Buildings_12_Buildings_Fluid_Interfaces_Examples_ConservationEquationSensibleLatent",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.734e-06/1.734e-06, allocations: 0 / 0.981 GB, free: 2.59 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.141e-05/2.315e-05, allocations: 6.219 kB / 0.981 GB, free: 2.582 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent): time 0.5462/0.5462, allocations: 141 MB / 1.119 GB, free: 17.64 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.003467/0.5497, allocations: 3.537 MB / 1.122 GB, free: 15.27 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003004/0.55, allocations: 21.16 kB / 1.122 GB, free: 15.26 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0005173/0.5505, allocations: 186.2 kB / 1.122 GB, free: 15.15 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.001603/0.5521, allocations: 0.8798 MB / 1.123 GB, free: 14.68 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007976/0.5529, allocations: 452.7 kB / 1.124 GB, free: 14.47 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.00109/0.554, allocations: 1.048 MB / 1.125 GB, free: 13.99 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003191/0.5543, allocations: 231.1 kB / 1.125 GB, free: 13.89 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000977/0.5553, allocations: 0.7237 MB / 1.126 GB, free: 13.57 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007064/0.556, allocations: 289.6 kB / 1.126 GB, free: 13.49 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 4.804e-05/0.5561, allocations: 29.62 kB / 1.126 GB, free: 13.49 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009894/0.557, allocations: 0.6068 MB / 1.126 GB, free: 13.26 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001526/0.5572, allocations: 169.8 kB / 1.127 GB, free: 13.19 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001296/0.5573, allocations: 153.2 kB / 1.127 GB, free: 13.13 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.0009354/0.5583, allocations: 0.7702 MB / 1.128 GB, free: 12.87 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.5583, allocations: 1.344 kB / 1.128 GB, free: 12.87 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.603e-06/0.5583, allocations: 0 / 1.128 GB, free: 12.87 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 6.773e-06/0.5583, allocations: 4 kB / 1.128 GB, free: 12.86 MB / 0.9948 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.0007834/0.5591, allocations: 0.6747 MB / 1.128 GB, free: 12.37 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.986e-05/0.5591, allocations: 9.188 kB / 1.128 GB, free: 12.37 MB / 0.9948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.157e-05/0.5591, allocations: 68.14 kB / 1.128 GB, free: 12.32 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000611/0.5598, allocations: 151.1 kB / 1.128 GB, free: 12.28 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004303/0.5602, allocations: 343.1 kB / 1.129 GB, free: 12.04 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.971e-05/0.5602, allocations: 26.31 kB / 1.129 GB, free: 12.03 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.227e-05/0.5603, allocations: 28.34 kB / 1.129 GB, free: 12.02 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004157/0.5607, allocations: 430.1 kB / 1.129 GB, free: 11.77 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.224e-05/0.5607, allocations: 1.5 kB / 1.129 GB, free: 11.77 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.209e-05/0.5607, allocations: 10.84 kB / 1.129 GB, free: 11.76 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.875e-06/0.5607, allocations: 6.781 kB / 1.129 GB, free: 11.76 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003518/0.5611, allocations: 307.5 kB / 1.13 GB, free: 11.67 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001061/0.5621, allocations: 0.8663 MB / 1.13 GB, free: 11.16 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003155/0.5624, allocations: 266.8 kB / 1.131 GB, free: 11.05 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001768/0.5626, allocations: 176.6 kB / 1.131 GB, free: 10.99 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001431/0.5628, allocations: 37.31 kB / 1.131 GB, free: 10.99 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.793e-05/0.5628, allocations: 38.28 kB / 1.131 GB, free: 10.95 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=33): time 2.355e-06/0.5628, allocations: 0 / 1.131 GB, free: 10.95 MB / 0.9948 GB Notification: Performance of matching and sorting (n=35): time 0.001338/0.5641, allocations: 0.9688 MB / 1.132 GB, free: 10.47 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.218e-05/0.5641, allocations: 54.16 kB / 1.132 GB, free: 10.41 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002213/0.5644, allocations: 318.9 kB / 1.132 GB, free: 10.25 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 2.041e-05/0.5644, allocations: 35.77 kB / 1.132 GB, free: 10.21 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 6.934e-05/0.5644, allocations: 177.4 kB / 1.132 GB, free: 10.06 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 6.457e-05/0.5645, allocations: 126.1 kB / 1.133 GB, free: 9.957 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.323e-05/0.5646, allocations: 64.95 kB / 1.133 GB, free: 9.918 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 5.013e-05/0.5646, allocations: 348.2 kB / 1.133 GB, free: 9.59 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001535/0.5648, allocations: 119.8 kB / 1.133 GB, free: 9.551 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001874/0.565, allocations: 266.3 kB / 1.133 GB, free: 9.359 MB / 0.9948 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.001038/0.566, allocations: 0.6825 MB / 1.134 GB, free: 9.137 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.566, allocations: 0 / 1.134 GB, free: 9.137 MB / 0.9948 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0003863/0.5664, allocations: 358.5 kB / 1.134 GB, free: 8.988 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.611e-05/0.5664, allocations: 5.188 kB / 1.134 GB, free: 8.988 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.5664, allocations: 1.375 kB / 1.134 GB, free: 8.988 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.487e-05/0.5664, allocations: 1.406 kB / 1.134 GB, free: 8.988 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001885/0.5666, allocations: 70.12 kB / 1.134 GB, free: 8.98 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.5666, allocations: 1.312 kB / 1.134 GB, free: 8.98 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001598/0.5668, allocations: 22.39 kB / 1.134 GB, free: 8.969 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.552e-05/0.5668, allocations: 9.453 kB / 1.134 GB, free: 8.969 MB / 0.9948 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.0001276/0.5669, allocations: 175.1 kB / 1.135 GB, free: 8.824 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.201e-05/0.567, allocations: 43.34 kB / 1.135 GB, free: 8.801 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.909e-05/0.567, allocations: 49.5 kB / 1.135 GB, free: 8.766 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.058e-06/0.5671, allocations: 4.094 kB / 1.135 GB, free: 8.766 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.826e-06/0.5671, allocations: 3.125 kB / 1.135 GB, free: 8.766 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003439/0.5674, allocations: 423.1 kB / 1.135 GB, free: 8.508 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00102/0.5684, allocations: 0.9787 MB / 1.136 GB, free: 7.895 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.559e-06/0.5684, allocations: 4.25 kB / 1.136 GB, free: 7.895 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002072/0.5686, allocations: 83.08 kB / 1.136 GB, free: 7.887 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.167e-06/0.5686, allocations: 5.219 kB / 1.136 GB, free: 7.887 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.852e-05/0.5687, allocations: 11.14 kB / 1.136 GB, free: 7.883 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.821e-06/0.5687, allocations: 10.17 kB / 1.136 GB, free: 7.879 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/0.5687, allocations: 3.969 kB / 1.136 GB, free: 7.879 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005973/0.5693, allocations: 0.6879 MB / 1.137 GB, free: 7.453 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001059/0.5694, allocations: 68.25 kB / 1.137 GB, free: 7.422 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.199e-05/0.5694, allocations: 11.12 kB / 1.137 GB, free: 7.418 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001642/0.5696, allocations: 22.33 kB / 1.137 GB, free: 7.41 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.606e-05/0.5696, allocations: 37.39 kB / 1.137 GB, free: 7.398 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.858e-05/0.5697, allocations: 13.44 kB / 1.137 GB, free: 7.398 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0001719/0.5698, allocations: 233.4 kB / 1.137 GB, free: 7.273 MB / 0.9948 GB Notification: Performance of sort global known variables: time 7e-08/0.5698, allocations: 4.062 kB / 1.137 GB, free: 7.27 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0003759/0.5702, allocations: 110.1 kB / 1.137 GB, free: 7.258 MB / 0.9948 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.0008907/0.5711, allocations: 1.284 MB / 1.139 GB, free: 6.27 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0004135/0.5715, allocations: 291.1 kB / 1.139 GB, free: 6.188 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.5715, allocations: 1.094 kB / 1.139 GB, free: 6.188 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001813/0.5717, allocations: 166.1 kB / 1.139 GB, free: 6.133 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006994/0.5724, allocations: 222.2 kB / 1.139 GB, free: 6.078 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003275/0.5757, allocations: 3.608 MB / 1.143 GB, free: 3.832 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001964/0.5759, allocations: 224.2 kB / 1.143 GB, free: 3.738 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.000325/0.5762, allocations: 104.9 kB / 1.143 GB, free: 3.723 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001378/0.5763, allocations: 121.3 kB / 1.143 GB, free: 3.641 MB / 0.9948 GB Notification: Performance of SimCode: time 2.024e-06/0.5763, allocations: 0 / 1.143 GB, free: 3.641 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0268/0.6031, allocations: 12.58 MB / 1.155 GB, free: 1.789 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.522/7.125, allocations: 2.031 kB / 1.155 GB, free: 1.789 MB / 0.9948 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.pipe ; mkfifo Buildings_12_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.pipe >> ../files/Buildings_12_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_Interfaces_Examples_ConservationEquationSensibleLatent_fmu --startTime=0 --stopTime=2700 --stepSize=1.08 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_Interfaces_Examples_ConservationEquationSensibleLatent.fmu > Buildings_12_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Interfaces_Examples_ConservationEquationSensibleLatent.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 10.99947156291455]