Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaLos.QLos.1.|heaLos.QLos.2.|heaLos.QLos.3.|TEnv.y|T1.y|T2.y|T3.y",fileNamePrefix="Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss") translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaLos.QLos.1.|heaLos.QLos.2.|heaLos.QLos.3.|TEnv.y|T1.y|T2.y|T3.y",fileNamePrefix="Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001673/0.001673, allocations: 103.2 kB / 16.35 MB, free: 6.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001787/0.001788, allocations: 193.5 kB / 17.29 MB, free: 5.863 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.329/1.329, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.176/2.176, allocations: 390.3 MB / 0.6655 GB, free: 0.6016 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001233/0.001233, allocations: 65.72 kB / 0.814 GB, free: 32.55 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2463/0.2475, allocations: 140.4 MB / 0.9511 GB, free: 8.082 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss): time 0.003191/0.2507, allocations: 1.916 MB / 0.953 GB, free: 6.16 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.003893/0.2547, allocations: 3.463 MB / 0.9564 GB, free: 2.676 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001035/0.2548, allocations: 0 / 0.9564 GB, free: 2.676 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0002523/0.2551, allocations: 47.69 kB / 0.9564 GB, free: 2.629 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.000448/0.2555, allocations: 139.2 kB / 0.9565 GB, free: 2.492 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 7.516e-05/0.2556, allocations: 23.97 kB / 0.9566 GB, free: 2.469 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0002449/0.2559, allocations: 175.2 kB / 0.9567 GB, free: 2.297 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 9.957e-05/0.256, allocations: 29.67 kB / 0.9568 GB, free: 2.266 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001595/0.2562, allocations: 83.67 kB / 0.9568 GB, free: 2.184 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001488/0.2563, allocations: 87.56 kB / 0.9569 GB, free: 2.098 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.473e-05/0.2563, allocations: 8 kB / 0.9569 GB, free: 2.09 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001289/0.2565, allocations: 23.98 kB / 0.957 GB, free: 2.066 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 6.625e-05/0.2566, allocations: 47.77 kB / 0.957 GB, free: 2.02 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 7.874e-05/0.2566, allocations: 83.53 kB / 0.9571 GB, free: 1.938 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.000203/0.2569, allocations: 171.3 kB / 0.9572 GB, free: 1.77 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.2569, allocations: 0 / 0.9572 GB, free: 1.77 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.273e-06/0.2569, allocations: 0 / 0.9572 GB, free: 1.77 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.561e-06/0.2569, allocations: 0 / 0.9572 GB, free: 1.77 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0008613/0.2577, allocations: 0.4916 MB / 0.9577 GB, free: 1.23 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.528e-05/0.2578, allocations: 16.03 kB / 0.9577 GB, free: 1.215 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.879e-05/0.2578, allocations: 24.66 kB / 0.9578 GB, free: 1.191 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003477/0.2582, allocations: 242.8 kB / 0.958 GB, free: 0.9141 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.125e-06/0.2582, allocations: 8.312 kB / 0.958 GB, free: 0.9062 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.189e-05/0.2582, allocations: 8.375 kB / 0.958 GB, free: 0.8984 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003252/0.2586, allocations: 149.6 kB / 0.9582 GB, free: 0.7461 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.063e-06/0.2586, allocations: 4 kB / 0.9582 GB, free: 0.7422 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.472e-05/0.2586, allocations: 4 kB / 0.9582 GB, free: 0.7383 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.301e-05/0.2586, allocations: 4 kB / 0.9582 GB, free: 0.7344 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004024/0.2591, allocations: 147.8 kB / 0.9583 GB, free: 0.5898 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006918/0.2598, allocations: 452.5 kB / 0.9587 GB, free: 100 kB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004052/0.2602, allocations: 170.5 kB / 0.9589 GB, free: 15.92 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002408/0.2604, allocations: 112.7 kB / 0.959 GB, free: 15.81 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 2.663e-05/0.2605, allocations: 7.938 kB / 0.959 GB, free: 15.8 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.503e-05/0.2605, allocations: 30.56 kB / 0.959 GB, free: 15.77 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=13): time 1.352e-06/0.2605, allocations: 0 / 0.959 GB, free: 15.77 MB / 0.7481 GB Notification: Performance of matching and sorting (n=13): time 0.0007811/0.2613, allocations: 297.4 kB / 0.9593 GB, free: 15.47 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.135e-05/0.2613, allocations: 51.41 kB / 0.9594 GB, free: 15.41 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001898/0.2615, allocations: 217 kB / 0.9596 GB, free: 15.18 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 1.887e-05/0.2615, allocations: 25.7 kB / 0.9596 GB, free: 15.15 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 7.007e-05/0.2616, allocations: 124.1 kB / 0.9597 GB, free: 15.03 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 3.916e-05/0.2617, allocations: 39.36 kB / 0.9598 GB, free: 14.99 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.184e-05/0.2617, allocations: 37.7 kB / 0.9598 GB, free: 14.95 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001404/0.2619, allocations: 330.8 kB / 0.9601 GB, free: 14.61 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002149/0.2621, allocations: 75.92 kB / 0.9602 GB, free: 14.54 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002038/0.2623, allocations: 80.12 kB / 0.9603 GB, free: 14.46 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000408/0.2627, allocations: 164.7 kB / 0.9604 GB, free: 14.3 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.2627, allocations: 4 kB / 0.9604 GB, free: 14.29 MB / 0.7481 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005112/0.2633, allocations: 213.4 kB / 0.9606 GB, free: 14.08 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.374e-05/0.2633, allocations: 4 kB / 0.9606 GB, free: 14.07 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.2633, allocations: 0 / 0.9606 GB, free: 14.07 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.311e-05/0.2633, allocations: 0 / 0.9606 GB, free: 14.07 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002672/0.2636, allocations: 35.91 kB / 0.9607 GB, free: 14.04 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.07e-06/0.2636, allocations: 7.938 kB / 0.9607 GB, free: 14.03 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001586/0.2638, allocations: 15.89 kB / 0.9607 GB, free: 14.02 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.858e-05/0.2638, allocations: 11.98 kB / 0.9607 GB, free: 14 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (13): * Single equations (assignments): 13 * 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.0001302/0.2639, allocations: 135.7 kB / 0.9608 GB, free: 13.86 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.195e-05/0.264, allocations: 15.81 kB / 0.9608 GB, free: 13.85 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.918e-05/0.264, allocations: 25.83 kB / 0.9609 GB, free: 13.82 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.264, allocations: 4 kB / 0.9609 GB, free: 13.82 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.264, allocations: 0 / 0.9609 GB, free: 13.82 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.2641, allocations: 0 / 0.9609 GB, free: 13.82 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000273/0.2643, allocations: 273.4 kB / 0.9611 GB, free: 13.5 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.2643, allocations: 0 / 0.9611 GB, free: 13.5 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002302/0.2646, allocations: 43.91 kB / 0.9612 GB, free: 13.46 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.2646, allocations: 0 / 0.9612 GB, free: 13.46 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.352e-05/0.2646, allocations: 0 / 0.9612 GB, free: 13.46 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.907e-06/0.2646, allocations: 11.92 kB / 0.9612 GB, free: 13.45 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.2646, allocations: 0 / 0.9612 GB, free: 13.45 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005406/0.2652, allocations: 326.2 kB / 0.9615 GB, free: 13.12 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001068/0.2653, allocations: 108.8 kB / 0.9616 GB, free: 12.99 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.809e-05/0.2653, allocations: 8 kB / 0.9616 GB, free: 12.98 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001944/0.2655, allocations: 7.984 kB / 0.9616 GB, free: 12.98 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.669e-05/0.2656, allocations: 15.98 kB / 0.9616 GB, free: 12.96 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.198e-05/0.2656, allocations: 0 / 0.9616 GB, free: 12.96 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0001201/0.2657, allocations: 156.5 kB / 0.9618 GB, free: 12.81 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2658, allocations: 8 kB / 0.9618 GB, free: 12.8 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0002725/0.266, allocations: 39.88 kB / 0.9618 GB, free: 12.76 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (13): * Single equations (assignments): 13 * 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.0001397/0.2662, allocations: 115.2 kB / 0.9619 GB, free: 12.64 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0004813/0.2667, allocations: 163.9 kB / 0.9621 GB, free: 12.48 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.2667, allocations: 4 kB / 0.9621 GB, free: 12.48 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0002353/0.267, allocations: 95.86 kB / 0.9622 GB, free: 12.38 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003931/0.2674, allocations: 28.41 kB / 0.9622 GB, free: 12.35 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007546/0.2681, allocations: 422.8 kB / 0.9626 GB, free: 11.91 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003184/0.2685, allocations: 0.7352 MB / 0.9633 GB, free: 11.15 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0001491/0.2686, allocations: 48.61 kB / 0.9634 GB, free: 11.11 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.741e-05/0.2687, allocations: 19.42 kB / 0.9634 GB, free: 11.09 MB / 0.7481 GB Notification: Performance of SimCode: time 2.7e-07/0.2687, allocations: 3.938 kB / 0.9634 GB, free: 11.09 MB / 0.7481 GB Notification: Performance of Templates: time 0.004449/0.2731, allocations: 1.821 MB / 0.9652 GB, free: 9.285 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.makefile (rm -f Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; mkfifo Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe >> ../files/Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.sim & ./Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches