Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001496/0.001496, allocations: 88.39 kB / 20.23 MB, free: 4.176 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.00155/0.00155, allocations: 157.7 kB / 23.54 MB, free: 0.8711 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.507/1.507, allocations: 177.1 MB / 203.9 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.749/2.749, allocations: 359 MB / 0.6048 GB, free: 10.93 MB / 0.573 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0.6562 kB / 0.7864 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.535e-05/2.7e-05, allocations: 6.328 kB / 0.7864 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent): time 0.2034/0.2034, allocations: 141 MB / 0.9241 GB, free: 15.29 MB / 0.8855 GB Notification: Performance of NFInst.instExpressions: time 0.00782/0.2112, allocations: 3.531 MB / 0.9276 GB, free: 11.76 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006524/0.2119, allocations: 19.81 kB / 0.9276 GB, free: 11.74 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.0009776/0.2129, allocations: 190.6 kB / 0.9278 GB, free: 11.55 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.002995/0.2159, allocations: 0.8821 MB / 0.9286 GB, free: 10.66 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.001333/0.2172, allocations: 454.9 kB / 0.9291 GB, free: 10.22 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 0.001829/0.219, allocations: 1.042 MB / 0.9301 GB, free: 9.176 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006295/0.2197, allocations: 241.2 kB / 0.9303 GB, free: 8.934 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001327/0.221, allocations: 0.5219 MB / 0.9308 GB, free: 8.41 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001177/0.2222, allocations: 307.5 kB / 0.9311 GB, free: 8.117 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 9.914e-05/0.2223, allocations: 32 kB / 0.9311 GB, free: 8.086 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001406/0.2237, allocations: 0.6152 MB / 0.9317 GB, free: 7.469 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 0.0002977/0.224, allocations: 175.5 kB / 0.9319 GB, free: 7.297 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 0.0003579/0.2243, allocations: 147.7 kB / 0.932 GB, free: 7.152 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.001692/0.226, allocations: 0.7788 MB / 0.9328 GB, free: 6.371 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.226, allocations: 0 / 0.9328 GB, free: 6.371 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.192e-06/0.226, allocations: 4 kB / 0.9328 GB, free: 6.367 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 1.833e-05/0.226, allocations: 0 / 0.9328 GB, free: 6.367 MB / 0.8855 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.001547/0.2276, allocations: 0.668 MB / 0.9335 GB, free: 5.668 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.731e-05/0.2276, allocations: 8.031 kB / 0.9335 GB, free: 5.66 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00129/0.2289, allocations: 203.2 kB / 0.9337 GB, free: 5.461 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007805/0.2297, allocations: 360.1 kB / 0.934 GB, free: 5.086 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.705e-05/0.2297, allocations: 20.66 kB / 0.934 GB, free: 5.066 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.561e-05/0.2298, allocations: 32 kB / 0.9341 GB, free: 5.035 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000813/0.2306, allocations: 432.8 kB / 0.9345 GB, free: 4.578 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.454e-05/0.2306, allocations: 4 kB / 0.9345 GB, free: 4.574 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.294e-05/0.2307, allocations: 16 kB / 0.9345 GB, free: 4.559 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.239e-05/0.2307, allocations: 8 kB / 0.9345 GB, free: 4.551 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006494/0.2314, allocations: 306.4 kB / 0.9348 GB, free: 4.254 MB / 0.8855 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.00186/0.2332, allocations: 0.8008 MB / 0.9356 GB, free: 3.418 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005797/0.2338, allocations: 279.4 kB / 0.9358 GB, free: 3.137 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004128/0.2342, allocations: 171 kB / 0.936 GB, free: 2.969 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002702/0.2345, allocations: 36.25 kB / 0.936 GB, free: 2.934 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.36e-05/0.2345, allocations: 38.84 kB / 0.9361 GB, free: 2.887 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=33): time 1.563e-06/0.2345, allocations: 0 / 0.9361 GB, free: 2.887 MB / 0.8855 GB Notification: Performance of matching and sorting (n=35): time 0.002565/0.2371, allocations: 0.9705 MB / 0.937 GB, free: 1.887 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.799e-05/0.2371, allocations: 55.41 kB / 0.9371 GB, free: 1.82 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00031/0.2375, allocations: 256.2 kB / 0.9373 GB, free: 1.559 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 4.21e-05/0.2375, allocations: 29.7 kB / 0.9373 GB, free: 1.523 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001732/0.2377, allocations: 188.7 kB / 0.9375 GB, free: 1.332 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001506/0.2378, allocations: 130.9 kB / 0.9377 GB, free: 1.203 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001306/0.2379, allocations: 61.7 kB / 0.9377 GB, free: 1.137 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0002106/0.2382, allocations: 346.7 kB / 0.938 GB, free: 0.7891 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002551/0.2384, allocations: 111.9 kB / 0.9381 GB, free: 0.6797 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004168/0.2388, allocations: 276.7 kB / 0.9384 GB, free: 384 kB / 0.8855 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.002155/0.241, allocations: 0.6836 MB / 0.9391 GB, free: 15.69 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.253e-06/0.241, allocations: 0 / 0.9391 GB, free: 15.69 MB / 0.9011 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0007419/0.2417, allocations: 353.2 kB / 0.9394 GB, free: 15.34 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 2.687e-05/0.2418, allocations: 8 kB / 0.9394 GB, free: 15.33 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.2418, allocations: 0 / 0.9394 GB, free: 15.33 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.825e-05/0.2418, allocations: 0 / 0.9394 GB, free: 15.33 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003419/0.2421, allocations: 71.94 kB / 0.9395 GB, free: 15.26 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.26e-05/0.2421, allocations: 7.984 kB / 0.9395 GB, free: 15.25 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000321/0.2425, allocations: 19.88 kB / 0.9395 GB, free: 15.23 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.765e-05/0.2425, allocations: 19.94 kB / 0.9395 GB, free: 15.21 MB / 0.9011 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.0003046/0.2428, allocations: 165.8 kB / 0.9397 GB, free: 15.04 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.684e-05/0.2429, allocations: 47.78 kB / 0.9397 GB, free: 14.99 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001156/0.243, allocations: 47.03 kB / 0.9398 GB, free: 14.95 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.172e-06/0.243, allocations: 4 kB / 0.9398 GB, free: 14.95 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.734e-06/0.2431, allocations: 4 kB / 0.9398 GB, free: 14.94 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007533/0.2438, allocations: 416.4 kB / 0.9402 GB, free: 14.5 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001978/0.2458, allocations: 0.9357 MB / 0.9411 GB, free: 13.48 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.462e-06/0.2458, allocations: 4 kB / 0.9411 GB, free: 13.48 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004172/0.2462, allocations: 87.83 kB / 0.9412 GB, free: 13.39 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.977e-06/0.2462, allocations: 4 kB / 0.9412 GB, free: 13.39 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.404e-05/0.2463, allocations: 12 kB / 0.9412 GB, free: 13.38 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.588e-06/0.2463, allocations: 4 kB / 0.9412 GB, free: 13.38 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.417e-06/0.2463, allocations: 7.938 kB / 0.9412 GB, free: 13.37 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001225/0.2475, allocations: 0.6952 MB / 0.9419 GB, free: 12.61 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001759/0.2477, allocations: 63.77 kB / 0.942 GB, free: 12.55 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.16e-05/0.2477, allocations: 16 kB / 0.942 GB, free: 12.53 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005701/0.2483, allocations: 19.98 kB / 0.942 GB, free: 12.51 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.099e-05/0.2484, allocations: 35.83 kB / 0.942 GB, free: 12.48 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.958e-05/0.2484, allocations: 12 kB / 0.942 GB, free: 12.46 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0002375/0.2487, allocations: 191.1 kB / 0.9422 GB, free: 12.28 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1e-07/0.2487, allocations: 0 / 0.9422 GB, free: 12.28 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0005167/0.2492, allocations: 112 kB / 0.9423 GB, free: 12.17 MB / 0.9011 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.000431/0.2496, allocations: 163 kB / 0.9425 GB, free: 12 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0007226/0.2503, allocations: 296.4 kB / 0.9428 GB, free: 11.71 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 3.556e-06/0.2503, allocations: 0 / 0.9428 GB, free: 11.71 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0003501/0.2507, allocations: 166.8 kB / 0.9429 GB, free: 11.55 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001199/0.2519, allocations: 188.5 kB / 0.9431 GB, free: 11.37 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00212/0.254, allocations: 0.8922 MB / 0.944 GB, free: 10.4 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003189/0.2543, allocations: 218.3 kB / 0.9442 GB, free: 10.17 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0003793/0.2547, allocations: 94.88 kB / 0.9443 GB, free: 10.08 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00012/0.2548, allocations: 32.5 kB / 0.9443 GB, free: 10.05 MB / 0.9011 GB Notification: Performance of SimCode: time 7.12e-07/0.2548, allocations: 0 / 0.9443 GB, free: 10.05 MB / 0.9011 GB Notification: Performance of Templates: time 0.01579/0.2706, allocations: 6.68 MB / 0.9508 GB, free: 3.551 MB / 0.9011 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.pipe ; mkfifo Buildings_11_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.pipe >> ../files/Buildings_11_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.sim & ./Buildings_11_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Interfaces_Examples_ConservationEquationSensibleLatent.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.248120922013186]