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.001838/0.001838, allocations: 92.7 kB / 19.44 MB, free: 324 kB / 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.002556/0.002556, allocations: 165.3 kB / 22.76 MB, free: 1.652 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 1.525/1.525, allocations: 177.1 MB / 203.1 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] 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 3.272/3.272, allocations: 429.6 MB / 0.673 GB, free: 3.883 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.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: translateModel(Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dynBal.Q_flow|dynBal.mWat_flow|dynBal.medium.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent") translateModel(Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dynBal.Q_flow|dynBal.mWat_flow|dynBal.medium.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.733e-06/1.733e-06, allocations: 0 / 0.8776 GB, free: 5.344 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.802e-05/2.976e-05, allocations: 2.812 kB / 0.8776 GB, free: 5.34 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent): time 0.245/0.2451, allocations: 141 MB / 1.015 GB, free: 7.809 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.006795/0.2519, allocations: 3.529 MB / 1.019 GB, free: 4.273 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005208/0.2524, allocations: 19.81 kB / 1.019 GB, free: 4.254 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 0.0007607/0.2532, allocations: 190.6 kB / 1.019 GB, free: 4.066 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 0.002586/0.2557, allocations: 0.8705 MB / 1.02 GB, free: 3.191 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.001254/0.257, allocations: 450.9 kB / 1.02 GB, free: 2.75 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.001798/0.2588, allocations: 1.014 MB / 1.021 GB, free: 1.734 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005338/0.2593, allocations: 229.2 kB / 1.021 GB, free: 1.504 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001712/0.261, allocations: 0.7125 MB / 1.022 GB, free: 0.7891 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001162/0.2622, allocations: 305.7 kB / 1.022 GB, free: 0.4961 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 0.0001013/0.2623, allocations: 32 kB / 1.022 GB, free: 476 kB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.5597/0.822, allocations: 0.5916 MB / 1.023 GB, free: 18.45 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 0.0004003/0.8224, allocations: 174.3 kB / 1.023 GB, free: 18.45 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 0.0004184/0.8229, allocations: 150.3 kB / 1.023 GB, free: 18.45 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.002006/0.8249, allocations: 0.7679 MB / 1.024 GB, free: 18.45 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.8249, allocations: 1.094 kB / 1.024 GB, free: 18.45 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.515e-06/0.8249, allocations: 1.656 kB / 1.024 GB, free: 18.45 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 8.756e-06/0.8249, allocations: 0 / 1.024 GB, free: 18.45 MB / 0.9323 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.001338/0.8262, allocations: 0.6717 MB / 1.025 GB, free: 18.05 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.841e-05/0.8263, allocations: 9.125 kB / 1.025 GB, free: 18.05 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001234/0.8275, allocations: 193.3 kB / 1.025 GB, free: 18.02 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000689/0.8282, allocations: 343.9 kB / 1.025 GB, free: 17.84 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.836e-05/0.8282, allocations: 25.25 kB / 1.025 GB, free: 17.84 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.996e-05/0.8283, allocations: 35.22 kB / 1.025 GB, free: 17.84 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008458/0.8292, allocations: 430 kB / 1.026 GB, free: 17.68 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.769e-05/0.8292, allocations: 1.125 kB / 1.026 GB, free: 17.68 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.437e-05/0.8292, allocations: 11.7 kB / 1.026 GB, free: 17.68 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.841e-05/0.8293, allocations: 7.969 kB / 1.026 GB, free: 17.68 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006955/0.8299, allocations: 313.2 kB / 1.026 GB, free: 17.67 MB / 0.9323 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.001889/0.8318, allocations: 0.8022 MB / 1.027 GB, free: 17.42 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006015/0.8324, allocations: 269.8 kB / 1.027 GB, free: 17.4 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003366/0.8328, allocations: 173.2 kB / 1.027 GB, free: 17.39 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002509/0.833, allocations: 40.39 kB / 1.027 GB, free: 17.39 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.072e-05/0.8331, allocations: 38.03 kB / 1.027 GB, free: 17.35 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=33): time 2.294e-06/0.8331, allocations: 0.6562 kB / 1.027 GB, free: 17.35 MB / 0.9323 GB Notification: Performance of matching and sorting (n=35): time 0.002534/0.8356, allocations: 0.9634 MB / 1.028 GB, free: 17.12 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.004e-05/0.8356, allocations: 65.55 kB / 1.028 GB, free: 17.05 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003489/0.836, allocations: 253.7 kB / 1.029 GB, free: 16.94 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 3.605e-05/0.836, allocations: 35.48 kB / 1.029 GB, free: 16.91 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001534/0.8362, allocations: 183.4 kB / 1.029 GB, free: 16.8 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.000116/0.8363, allocations: 127.1 kB / 1.029 GB, free: 16.71 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001308/0.8364, allocations: 65.75 kB / 1.029 GB, free: 16.7 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 8.211e-05/0.8365, allocations: 341.3 kB / 1.029 GB, free: 16.38 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002693/0.8368, allocations: 116.3 kB / 1.029 GB, free: 16.38 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003547/0.8371, allocations: 262 kB / 1.03 GB, free: 16.23 MB / 0.9323 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.002111/0.8392, allocations: 0.688 MB / 1.03 GB, free: 16.21 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.8392, allocations: 0 / 1.03 GB, free: 16.21 MB / 0.9323 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0008174/0.8401, allocations: 362.2 kB / 1.031 GB, free: 16.16 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 2.214e-05/0.8401, allocations: 7.406 kB / 1.031 GB, free: 16.16 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.806e-06/0.8401, allocations: 0.5156 kB / 1.031 GB, free: 16.16 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.818e-05/0.8401, allocations: 2.156 kB / 1.031 GB, free: 16.16 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003863/0.8405, allocations: 72.08 kB / 1.031 GB, free: 16.15 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.339e-05/0.8405, allocations: 3.391 kB / 1.031 GB, free: 16.15 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003749/0.8409, allocations: 16.05 kB / 1.031 GB, free: 16.15 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.132e-05/0.841, allocations: 13.89 kB / 1.031 GB, free: 16.15 MB / 0.9323 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.0002423/0.8412, allocations: 175.2 kB / 1.031 GB, free: 16.04 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.929e-05/0.8413, allocations: 46.36 kB / 1.031 GB, free: 16.02 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001146/0.8414, allocations: 46.44 kB / 1.031 GB, free: 16 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.364e-06/0.8414, allocations: 4.375 kB / 1.031 GB, free: 16 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.28e-05/0.8414, allocations: 3.938 kB / 1.031 GB, free: 16 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006727/0.8421, allocations: 410 kB / 1.031 GB, free: 15.84 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001969/0.8441, allocations: 0.9417 MB / 1.032 GB, free: 15.48 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.161e-05/0.8441, allocations: 7.469 kB / 1.032 GB, free: 15.48 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004252/0.8445, allocations: 78.39 kB / 1.032 GB, free: 15.48 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.522e-05/0.8445, allocations: 5.969 kB / 1.032 GB, free: 15.48 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.036e-05/0.8446, allocations: 10.91 kB / 1.033 GB, free: 15.48 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.148e-05/0.8446, allocations: 10.19 kB / 1.033 GB, free: 15.48 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.234e-06/0.8446, allocations: 4.688 kB / 1.033 GB, free: 15.48 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001233/0.8458, allocations: 0.69 MB / 1.033 GB, free: 15.2 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002324/0.8461, allocations: 66.09 kB / 1.033 GB, free: 15.18 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.886e-05/0.8461, allocations: 11.53 kB / 1.033 GB, free: 15.18 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003781/0.8465, allocations: 17.41 kB / 1.033 GB, free: 15.18 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001087/0.8466, allocations: 34.89 kB / 1.033 GB, free: 15.18 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.302e-05/0.8467, allocations: 18.34 kB / 1.033 GB, free: 15.18 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0002386/0.8469, allocations: 183.2 kB / 1.034 GB, free: 15.1 MB / 0.9323 GB Notification: Performance of sort global known variables: time 8e-08/0.8469, allocations: 0 / 1.034 GB, free: 15.1 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.0006861/0.8476, allocations: 112.4 kB / 1.034 GB, free: 15.1 MB / 0.9323 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.0004143/0.848, allocations: 159 kB / 1.034 GB, free: 15.01 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.0007293/0.8487, allocations: 295.7 kB / 1.034 GB, free: 15 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 8.086e-06/0.8487, allocations: 1.953 kB / 1.034 GB, free: 15 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0003305/0.8491, allocations: 163.7 kB / 1.034 GB, free: 15 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001162/0.8502, allocations: 177.2 kB / 1.034 GB, free: 15 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001956/0.8522, allocations: 0.8797 MB / 1.035 GB, free: 14.55 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003801/0.8526, allocations: 221 kB / 1.035 GB, free: 14.48 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0004166/0.853, allocations: 99.28 kB / 1.036 GB, free: 14.46 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001236/0.8531, allocations: 32.92 kB / 1.036 GB, free: 14.46 MB / 0.9323 GB Notification: Performance of SimCode: time 7.01e-07/0.8531, allocations: 0.9375 kB / 1.036 GB, free: 14.46 MB / 0.9323 GB Notification: Performance of Templates: time 0.01681/0.8699, allocations: 6.541 MB / 1.042 GB, free: 14 MB / 0.9323 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.makefile [Timeout 300] (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 & ./Buildings_latest_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Interfaces_Examples_ConservationEquationSensibleLatent.csv","/var/lib/jenkins/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: 9.347143864957616]