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.0007991/0.0007991, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.0008109/0.0008109, allocations: 165.9 kB / 22.46 MB, free: 2.105 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.8877/0.8877, allocations: 177.1 MB / 202.8 MB, free: 5.75 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.684/1.684, allocations: 377.8 MB / 0.6221 GB, free: 8.668 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.703e-06/1.703e-06, allocations: 3.938 kB / 0.981 GB, free: 2.602 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.955e-05/2.125e-05, allocations: 9.234 kB / 0.981 GB, free: 2.594 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent): time 0.5597/0.5597, allocations: 141 MB / 1.119 GB, free: 17.69 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.003156/0.5629, allocations: 3.538 MB / 1.122 GB, free: 15.32 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002155/0.5631, allocations: 16.94 kB / 1.122 GB, free: 15.31 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0005345/0.5636, allocations: 185.3 kB / 1.122 GB, free: 15.2 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.00125/0.5649, allocations: 0.8839 MB / 1.123 GB, free: 14.73 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005583/0.5655, allocations: 462.3 kB / 1.124 GB, free: 14.51 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.0008425/0.5663, allocations: 1.033 MB / 1.125 GB, free: 14.04 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002972/0.5666, allocations: 239.1 kB / 1.125 GB, free: 13.93 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008117/0.5674, allocations: 0.7161 MB / 1.126 GB, free: 13.62 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005919/0.568, allocations: 303.7 kB / 1.126 GB, free: 13.52 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 4.43e-05/0.568, allocations: 31.19 kB / 1.126 GB, free: 13.52 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006464/0.5687, allocations: 0.5943 MB / 1.126 GB, free: 13.31 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.000139/0.5688, allocations: 169.1 kB / 1.127 GB, free: 13.24 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001207/0.5689, allocations: 150.7 kB / 1.127 GB, free: 13.18 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.0007764/0.5697, allocations: 0.7766 MB / 1.128 GB, free: 12.91 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 3.828e-06/0.5697, allocations: 1.125 kB / 1.128 GB, free: 12.91 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.313e-06/0.5697, allocations: 0 / 1.128 GB, free: 12.91 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 6.593e-06/0.5697, allocations: 0 / 1.128 GB, free: 12.91 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.000732/0.5705, allocations: 0.671 MB / 1.128 GB, free: 12.42 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.602e-05/0.5705, allocations: 9.375 kB / 1.128 GB, free: 12.42 MB / 0.9948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.632e-05/0.5706, allocations: 68.45 kB / 1.128 GB, free: 12.37 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005645/0.5711, allocations: 158.8 kB / 1.128 GB, free: 12.32 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004149/0.5715, allocations: 336.4 kB / 1.129 GB, free: 12.09 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.844e-05/0.5716, allocations: 32.97 kB / 1.129 GB, free: 12.07 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.24e-05/0.5716, allocations: 28.47 kB / 1.129 GB, free: 12.06 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004085/0.572, allocations: 430.9 kB / 1.129 GB, free: 11.81 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.179e-05/0.572, allocations: 0 / 1.129 GB, free: 11.81 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.279e-05/0.572, allocations: 11.38 kB / 1.129 GB, free: 11.8 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.865e-06/0.572, allocations: 6.656 kB / 1.129 GB, free: 11.8 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003617/0.5724, allocations: 303.5 kB / 1.13 GB, free: 11.71 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001004/0.5734, allocations: 0.8652 MB / 1.13 GB, free: 11.21 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003186/0.5737, allocations: 272.8 kB / 1.131 GB, free: 11.1 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001801/0.5739, allocations: 168.9 kB / 1.131 GB, free: 11.04 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000124/0.574, allocations: 40.39 kB / 1.131 GB, free: 11.04 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.826e-05/0.5741, allocations: 38.12 kB / 1.131 GB, free: 10.99 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=33): time 1.553e-06/0.5741, allocations: 1.219 kB / 1.131 GB, free: 10.99 MB / 0.9948 GB Notification: Performance of matching and sorting (n=35): time 0.00132/0.5754, allocations: 0.9675 MB / 1.132 GB, free: 10.52 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.34e-05/0.5754, allocations: 55.89 kB / 1.132 GB, free: 10.45 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002367/0.5756, allocations: 321.6 kB / 1.132 GB, free: 10.29 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 2.035e-05/0.5757, allocations: 31.78 kB / 1.132 GB, free: 10.25 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 7.778e-05/0.5757, allocations: 178.2 kB / 1.132 GB, free: 10.11 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 6.734e-05/0.5758, allocations: 125.1 kB / 1.132 GB, free: 10 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.227e-05/0.5759, allocations: 65.42 kB / 1.133 GB, free: 9.965 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 5.289e-05/0.5759, allocations: 342.9 kB / 1.133 GB, free: 9.641 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001462/0.5761, allocations: 119.7 kB / 1.133 GB, free: 9.602 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001943/0.5763, allocations: 271.6 kB / 1.133 GB, free: 9.406 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.001069/0.5773, allocations: 0.6865 MB / 1.134 GB, free: 9.18 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.5773, allocations: 0 / 1.134 GB, free: 9.18 MB / 0.9948 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0003722/0.5777, allocations: 362.2 kB / 1.134 GB, free: 9.027 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.566e-05/0.5777, allocations: 8.406 kB / 1.134 GB, free: 9.027 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.152e-06/0.5777, allocations: 1.062 kB / 1.134 GB, free: 9.027 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.216e-05/0.5777, allocations: 2.75 kB / 1.134 GB, free: 9.027 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001772/0.5779, allocations: 67.36 kB / 1.134 GB, free: 9.02 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/0.5779, allocations: 1.578 kB / 1.134 GB, free: 9.02 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000147/0.5781, allocations: 23.22 kB / 1.134 GB, free: 9.008 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.725e-05/0.5781, allocations: 13.77 kB / 1.134 GB, free: 9.004 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.0001218/0.5782, allocations: 170.9 kB / 1.135 GB, free: 8.863 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.162e-05/0.5783, allocations: 38.33 kB / 1.135 GB, free: 8.844 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.792e-05/0.5783, allocations: 53.38 kB / 1.135 GB, free: 8.809 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.007e-06/0.5783, allocations: 5.078 kB / 1.135 GB, free: 8.809 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.5783, allocations: 0 / 1.135 GB, free: 8.809 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003673/0.5787, allocations: 410.1 kB / 1.135 GB, free: 8.562 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001018/0.5797, allocations: 0.9868 MB / 1.136 GB, free: 7.941 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.138e-06/0.5797, allocations: 3.266 kB / 1.136 GB, free: 7.941 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000201/0.5799, allocations: 83.25 kB / 1.136 GB, free: 7.934 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.972e-06/0.5799, allocations: 4.75 kB / 1.136 GB, free: 7.934 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.874e-05/0.5799, allocations: 11.78 kB / 1.136 GB, free: 7.93 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.739e-06/0.58, allocations: 6.328 kB / 1.136 GB, free: 7.93 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.098e-06/0.58, allocations: 7.5 kB / 1.136 GB, free: 7.926 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005916/0.5805, allocations: 0.6886 MB / 1.137 GB, free: 7.5 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 9.806e-05/0.5806, allocations: 68.05 kB / 1.137 GB, free: 7.469 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.219e-05/0.5807, allocations: 15.88 kB / 1.137 GB, free: 7.461 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000154/0.5808, allocations: 15.84 kB / 1.137 GB, free: 7.457 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.666e-05/0.5809, allocations: 36.53 kB / 1.137 GB, free: 7.445 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.9e-05/0.5809, allocations: 17.55 kB / 1.137 GB, free: 7.441 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0001547/0.5811, allocations: 230.2 kB / 1.137 GB, free: 7.32 MB / 0.9948 GB Notification: Performance of sort global known variables: time 8e-08/0.5811, allocations: 0 / 1.137 GB, free: 7.32 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0003202/0.5814, allocations: 114.4 kB / 1.137 GB, free: 7.305 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.000835/0.5822, allocations: 1.29 MB / 1.139 GB, free: 6.312 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0003979/0.5826, allocations: 292.1 kB / 1.139 GB, free: 6.23 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.5826, allocations: 0.9688 kB / 1.139 GB, free: 6.23 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001798/0.5828, allocations: 166.4 kB / 1.139 GB, free: 6.176 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006772/0.5835, allocations: 228.8 kB / 1.139 GB, free: 6.113 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002942/0.5864, allocations: 3.605 MB / 1.143 GB, free: 3.867 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001655/0.5866, allocations: 219.3 kB / 1.143 GB, free: 3.777 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.0002039/0.5868, allocations: 103.7 kB / 1.143 GB, free: 3.762 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001229/0.5869, allocations: 121.8 kB / 1.143 GB, free: 3.68 MB / 0.9948 GB Notification: Performance of SimCode: time 4.61e-07/0.5869, allocations: 0 / 1.143 GB, free: 3.68 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02542/0.6123, allocations: 12.57 MB / 1.155 GB, free: 1.836 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.561/7.174, allocations: 5.031 kB / 1.155 GB, free: 1.832 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 & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent_res.csv --start-time 0 --stop-time 2700 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.08 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.csv","/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] "Error: Could not read variable dynBal.Q_flow in file Buildings_12_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent_res.csv. Warning: Get data of variable dynBal.Q_flow from file Buildings_12_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent_res.csv failed! Error: Could not read variable dynBal.mWat_flow in file Buildings_12_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent_res.csv. Warning: Get data of variable dynBal.mWat_flow from file Buildings_12_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent_res.csv failed! Error: Could not read variable dynBal.medium.T in file Buildings_12_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent_res.csv. Warning: Get data of variable dynBal.medium.T from file Buildings_12_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.225467856042087]