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.001392/0.001392, allocations: 80.41 kB / 20.23 MB, free: 4.199 MB / 18.57 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.001484/0.001484, allocations: 161.7 kB / 23.54 MB, free: 0.8906 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.483/1.483, allocations: 177.1 MB / 203.9 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] 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 2.868/2.868, allocations: 377.8 MB / 0.6232 GB, free: 8.531 MB / 0.5886 GB " [Timeout remaining time 176] 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: 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_12_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_12_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.522e-06/1.522e-06, allocations: 0 / 0.8108 GB, free: 2.082 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.652e-05/2.804e-05, allocations: 5 kB / 0.8108 GB, free: 2.078 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent): time 0.2105/0.2105, allocations: 141 MB / 0.9486 GB, free: 4.574 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.006864/0.2174, allocations: 3.54 MB / 0.952 GB, free: 1.027 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004936/0.2178, allocations: 23.81 kB / 0.952 GB, free: 1.004 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.0007695/0.2186, allocations: 186.6 kB / 0.9522 GB, free: 0.8203 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.002764/0.2214, allocations: 0.8744 MB / 0.9531 GB, free: 15.94 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.001353/0.2227, allocations: 466.8 kB / 0.9535 GB, free: 15.48 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.001745/0.2245, allocations: 1.034 MB / 0.9545 GB, free: 14.45 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006182/0.2251, allocations: 243.9 kB / 0.9548 GB, free: 14.21 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001715/0.2268, allocations: 0.7164 MB / 0.9555 GB, free: 13.49 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001135/0.2279, allocations: 309.4 kB / 0.9557 GB, free: 13.19 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 9.655e-05/0.228, allocations: 28 kB / 0.9558 GB, free: 13.16 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001602/0.2296, allocations: 0.5958 MB / 0.9564 GB, free: 12.57 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.000273/0.2299, allocations: 183.4 kB / 0.9565 GB, free: 12.39 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.0002678/0.2302, allocations: 143.7 kB / 0.9567 GB, free: 12.25 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.001455/0.2316, allocations: 0.7789 MB / 0.9574 GB, free: 11.46 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.2316, allocations: 0 / 0.9574 GB, free: 11.46 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.202e-06/0.2316, allocations: 0 / 0.9574 GB, free: 11.46 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 7.094e-06/0.2317, allocations: 0 / 0.9574 GB, free: 11.46 MB / 0.9167 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.001448/0.2331, allocations: 0.668 MB / 0.9581 GB, free: 10.77 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.948e-05/0.2331, allocations: 8.031 kB / 0.9581 GB, free: 10.76 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001179/0.2343, allocations: 199.3 kB / 0.9583 GB, free: 10.56 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007267/0.235, allocations: 368 kB / 0.9586 GB, free: 10.18 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.222e-05/0.2351, allocations: 20.66 kB / 0.9586 GB, free: 10.16 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.783e-05/0.2352, allocations: 32 kB / 0.9587 GB, free: 10.13 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000763/0.2359, allocations: 432.8 kB / 0.9591 GB, free: 9.672 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.401e-05/0.2359, allocations: 0 / 0.9591 GB, free: 9.672 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.127e-05/0.236, allocations: 12 kB / 0.9591 GB, free: 9.66 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.066e-05/0.236, allocations: 8 kB / 0.9591 GB, free: 9.652 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006681/0.2367, allocations: 314.3 kB / 0.9594 GB, free: 9.348 MB / 0.9167 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.001802/0.2385, allocations: 0.8007 MB / 0.9602 GB, free: 8.512 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005751/0.239, allocations: 267.5 kB / 0.9604 GB, free: 8.242 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003376/0.2394, allocations: 173.3 kB / 0.9606 GB, free: 8.07 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002426/0.2396, allocations: 36.27 kB / 0.9606 GB, free: 8.035 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.964e-05/0.2397, allocations: 34.84 kB / 0.9607 GB, free: 7.992 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=33): time 1.382e-06/0.2397, allocations: 3.938 kB / 0.9607 GB, free: 7.988 MB / 0.9167 GB Notification: Performance of matching and sorting (n=35): time 0.002693/0.2424, allocations: 0.9738 MB / 0.9616 GB, free: 6.984 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.352e-05/0.2424, allocations: 55.41 kB / 0.9617 GB, free: 6.918 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003423/0.2427, allocations: 260.2 kB / 0.9619 GB, free: 6.656 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 4.698e-05/0.2428, allocations: 37.7 kB / 0.962 GB, free: 6.613 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001776/0.243, allocations: 188.7 kB / 0.9622 GB, free: 6.426 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001374/0.2431, allocations: 118.9 kB / 0.9623 GB, free: 6.309 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001284/0.2432, allocations: 69.44 kB / 0.9623 GB, free: 6.234 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0002451/0.2435, allocations: 342.8 kB / 0.9627 GB, free: 5.891 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003896/0.2439, allocations: 115.9 kB / 0.9628 GB, free: 5.777 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005773/0.2445, allocations: 262.9 kB / 0.963 GB, free: 5.488 MB / 0.9167 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.003012/0.2475, allocations: 0.6862 MB / 0.9637 GB, free: 4.797 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.2475, allocations: 0 / 0.9637 GB, free: 4.797 MB / 0.9167 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001042/0.2485, allocations: 369 kB / 0.964 GB, free: 4.43 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 2.645e-05/0.2485, allocations: 5.875 kB / 0.964 GB, free: 4.426 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.596e-06/0.2485, allocations: 4.031 kB / 0.9641 GB, free: 4.422 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.259e-05/0.2486, allocations: 4 kB / 0.9641 GB, free: 4.418 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004608/0.249, allocations: 63.91 kB / 0.9641 GB, free: 4.355 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.883e-05/0.2491, allocations: 11.97 kB / 0.9641 GB, free: 4.344 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004368/0.2495, allocations: 15.95 kB / 0.9641 GB, free: 4.328 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.842e-05/0.2495, allocations: 19.92 kB / 0.9642 GB, free: 4.309 MB / 0.9167 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.0003133/0.2499, allocations: 173.7 kB / 0.9643 GB, free: 4.129 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001329/0.25, allocations: 43.81 kB / 0.9644 GB, free: 4.086 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001422/0.2501, allocations: 47.03 kB / 0.9644 GB, free: 4.039 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.2501, allocations: 4 kB / 0.9644 GB, free: 4.035 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/0.2501, allocations: 0 / 0.9644 GB, free: 4.035 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001037/0.2512, allocations: 412.4 kB / 0.9648 GB, free: 3.602 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002586/0.2538, allocations: 0.9479 MB / 0.9657 GB, free: 2.566 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.103e-05/0.2538, allocations: 4 kB / 0.9657 GB, free: 2.562 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005516/0.2543, allocations: 75.91 kB / 0.9658 GB, free: 2.488 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.578e-05/0.2544, allocations: 4 kB / 0.9658 GB, free: 2.484 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.606e-05/0.2544, allocations: 15.98 kB / 0.9658 GB, free: 2.469 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-05/0.2544, allocations: 4.469 kB / 0.9658 GB, free: 2.465 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.013e-05/0.2544, allocations: 11.94 kB / 0.9658 GB, free: 2.453 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001621/0.256, allocations: 0.6873 MB / 0.9665 GB, free: 1.703 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002516/0.2563, allocations: 59.78 kB / 0.9666 GB, free: 1.645 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.713e-05/0.2564, allocations: 23.98 kB / 0.9666 GB, free: 1.621 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004677/0.2568, allocations: 14.64 kB / 0.9666 GB, free: 1.609 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001121/0.257, allocations: 35.89 kB / 0.9666 GB, free: 1.574 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.674e-05/0.257, allocations: 20 kB / 0.9667 GB, free: 1.555 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0003138/0.2573, allocations: 191.1 kB / 0.9668 GB, free: 1.367 MB / 0.9167 GB Notification: Performance of sort global known variables: time 9e-08/0.2573, allocations: 0 / 0.9668 GB, free: 1.367 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0007506/0.2581, allocations: 108 kB / 0.967 GB, free: 1.262 MB / 0.9167 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.0004068/0.2585, allocations: 159.1 kB / 0.9671 GB, free: 1.094 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0009217/0.2594, allocations: 306.5 kB / 0.9674 GB, free: 0.7969 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/0.2594, allocations: 0 / 0.9674 GB, free: 0.7969 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0004418/0.2598, allocations: 164 kB / 0.9676 GB, free: 0.6367 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001517/0.2614, allocations: 185.1 kB / 0.9677 GB, free: 472 kB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002387/0.2637, allocations: 0.8882 MB / 0.9686 GB, free: 15.5 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003933/0.2641, allocations: 226.2 kB / 0.9688 GB, free: 15.26 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0004676/0.2646, allocations: 94.88 kB / 0.9689 GB, free: 15.17 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001442/0.2648, allocations: 32.5 kB / 0.9689 GB, free: 15.14 MB / 0.9323 GB Notification: Performance of SimCode: time 8.81e-07/0.2648, allocations: 4 kB / 0.9689 GB, free: 15.13 MB / 0.9323 GB Notification: Performance of Templates: time 0.01997/0.2847, allocations: 6.683 MB / 0.9755 GB, free: 8.641 MB / 0.9323 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.makefile [Timeout 300] (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 & ./Buildings_12_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.pipe 2>&1) [Timeout 400] 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: 8.254173303954303]