Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.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.0009475/0.0009475, allocations: 80.88 kB / 19.94 MB, free: 4.547 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.001107/0.001107, allocations: 181 kB / 23.36 MB, free: 1.133 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.012/1.012, allocations: 177.2 MB / 203.8 MB, free: 5.477 MB / 186.7 MB " [Timeout remaining time 179] 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 2.444/2.444, allocations: 438.8 MB / 0.6827 GB, free: 13.61 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.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.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|heaLos.QLos_flow.[0-9,]+.|TEnv.y|T1.y|T2.y|T3.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss") translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|heaLos.QLos_flow.[0-9,]+.|TEnv.y|T1.y|T2.y|T3.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.392e-06/1.392e-06, allocations: 0 / 0.8386 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.656e-05/2.795e-05, allocations: 10.25 kB / 0.8386 GB, free: 14.19 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss): time 0.002723/0.002751, allocations: 1.984 MB / 0.8406 GB, free: 12.19 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.003844/0.006596, allocations: 3.732 MB / 0.8442 GB, free: 8.441 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000128/0.006724, allocations: 4 kB / 0.8442 GB, free: 8.438 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0008103/0.007534, allocations: 187 kB / 0.8444 GB, free: 8.254 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0002197/0.007753, allocations: 83.41 kB / 0.8445 GB, free: 8.172 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001542/0.007908, allocations: 59.78 kB / 0.8445 GB, free: 8.113 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0005093/0.008417, allocations: 283 kB / 0.8448 GB, free: 7.836 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001001/0.008517, allocations: 18.47 kB / 0.8448 GB, free: 7.82 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001624/0.008679, allocations: 103.7 kB / 0.8449 GB, free: 7.719 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001064/0.008786, allocations: 63.8 kB / 0.845 GB, free: 7.656 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.803e-05/0.008804, allocations: 8 kB / 0.845 GB, free: 7.648 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 9.582e-05/0.0089, allocations: 31.92 kB / 0.845 GB, free: 7.617 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 5.632e-05/0.008956, allocations: 55.83 kB / 0.8451 GB, free: 7.562 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 5.106e-05/0.009007, allocations: 51.86 kB / 0.8451 GB, free: 7.512 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.00021/0.009217, allocations: 171.2 kB / 0.8453 GB, free: 7.344 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.009221, allocations: 4 kB / 0.8453 GB, free: 7.34 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.333e-06/0.009222, allocations: 0 / 0.8453 GB, free: 7.34 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 6.743e-06/0.009229, allocations: 0 / 0.8453 GB, free: 7.34 MB / 0.8073 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.000536/0.009765, allocations: 423.1 kB / 0.8457 GB, free: 6.902 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.506e-05/0.0098, allocations: 8.625 kB / 0.8457 GB, free: 6.895 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004426/0.01024, allocations: 100.8 kB / 0.8458 GB, free: 6.797 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002474/0.01049, allocations: 201.7 kB / 0.846 GB, free: 6.57 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.255e-05/0.0105, allocations: 4.375 kB / 0.846 GB, free: 6.566 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.689e-05/0.01052, allocations: 4.375 kB / 0.846 GB, free: 6.562 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002229/0.01074, allocations: 111.7 kB / 0.8461 GB, free: 6.445 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.01075, allocations: 192 / 0.8461 GB, free: 6.445 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.462e-05/0.01077, allocations: 4.125 kB / 0.8461 GB, free: 6.441 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.276e-05/0.0108, allocations: 12 kB / 0.8461 GB, free: 6.43 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.9e-05/0.01087, allocations: 27.98 kB / 0.8461 GB, free: 6.402 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004564/0.01132, allocations: 257.8 kB / 0.8464 GB, free: 6.133 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001277/0.01145, allocations: 74.53 kB / 0.8465 GB, free: 6.051 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.56e-05/0.01151, allocations: 32.84 kB / 0.8465 GB, free: 6.016 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.884e-05/0.01153, allocations: 4.25 kB / 0.8465 GB, free: 6.012 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.71e-05/0.01155, allocations: 38.5 kB / 0.8465 GB, free: 5.965 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=13): time 1.744e-06/0.01155, allocations: 0 / 0.8465 GB, free: 5.965 MB / 0.8073 GB Notification: Performance of matching and sorting (n=13): time 0.0002365/0.01179, allocations: 117.2 kB / 0.8466 GB, free: 5.848 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.134e-05/0.01182, allocations: 51.41 kB / 0.8467 GB, free: 5.785 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000135/0.01196, allocations: 235 kB / 0.8469 GB, free: 5.547 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.857e-05/0.01198, allocations: 29.7 kB / 0.8469 GB, free: 5.512 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 5.311e-05/0.01203, allocations: 116.7 kB / 0.8471 GB, free: 5.391 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 3.964e-05/0.01207, allocations: 47.59 kB / 0.8471 GB, free: 5.344 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.628e-05/0.01214, allocations: 33.67 kB / 0.8471 GB, free: 5.305 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 9.782e-05/0.01223, allocations: 334.8 kB / 0.8475 GB, free: 4.969 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.678e-05/0.01227, allocations: 12 kB / 0.8475 GB, free: 4.957 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.48e-05/0.0123, allocations: 15.98 kB / 0.8475 GB, free: 4.941 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.082e-05/0.0124, allocations: 59.59 kB / 0.8475 GB, free: 4.879 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.0124, allocations: 0 / 0.8475 GB, free: 4.879 MB / 0.8073 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001317/0.01253, allocations: 85.59 kB / 0.8476 GB, free: 4.789 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.86e-05/0.01255, allocations: 11.98 kB / 0.8476 GB, free: 4.777 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.634e-06/0.01256, allocations: 0 / 0.8476 GB, free: 4.777 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.447e-05/0.01257, allocations: 3.938 kB / 0.8476 GB, free: 4.773 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001559/0.01273, allocations: 35.97 kB / 0.8477 GB, free: 4.738 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.559e-06/0.01273, allocations: 3.984 kB / 0.8477 GB, free: 4.734 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.178e-05/0.0128, allocations: 11.94 kB / 0.8477 GB, free: 4.723 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.4e-05/0.01282, allocations: 7.984 kB / 0.8477 GB, free: 4.715 MB / 0.8073 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 8.765e-05/0.0129, allocations: 116.6 kB / 0.8478 GB, free: 4.59 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.345e-05/0.01294, allocations: 23.92 kB / 0.8478 GB, free: 4.566 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.221e-05/0.01298, allocations: 29.8 kB / 0.8479 GB, free: 4.539 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.975e-06/0.01298, allocations: 0 / 0.8479 GB, free: 4.539 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.434e-06/0.01299, allocations: 0 / 0.8479 GB, free: 4.539 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.01299, allocations: 0 / 0.8479 GB, free: 4.539 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001628/0.01315, allocations: 133.8 kB / 0.848 GB, free: 4.391 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-06/0.01315, allocations: 0 / 0.848 GB, free: 4.391 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001116/0.01327, allocations: 35.95 kB / 0.848 GB, free: 4.355 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.287e-06/0.01327, allocations: 4 kB / 0.848 GB, free: 4.352 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.082e-05/0.01328, allocations: 4 kB / 0.848 GB, free: 4.348 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.538e-06/0.01328, allocations: 7.938 kB / 0.848 GB, free: 4.34 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.01329, allocations: 3.938 kB / 0.848 GB, free: 4.336 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001759/0.01346, allocations: 182.8 kB / 0.8482 GB, free: 4.145 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 4.978e-05/0.01351, allocations: 35.78 kB / 0.8482 GB, free: 4.109 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.128e-05/0.01353, allocations: 0 / 0.8482 GB, free: 4.109 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.475e-05/0.01362, allocations: 15.92 kB / 0.8483 GB, free: 4.094 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.208e-05/0.01366, allocations: 7.984 kB / 0.8483 GB, free: 4.086 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.907e-06/0.01367, allocations: 4 kB / 0.8483 GB, free: 4.082 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 6.408e-05/0.01373, allocations: 88.62 kB / 0.8484 GB, free: 3.996 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.01373, allocations: 0 / 0.8484 GB, free: 3.996 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001662/0.0139, allocations: 40 kB / 0.8484 GB, free: 3.957 MB / 0.8073 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.0001163/0.01402, allocations: 84.36 kB / 0.8485 GB, free: 3.863 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001408/0.01416, allocations: 60.81 kB / 0.8485 GB, free: 3.801 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 4.999e-06/0.01416, allocations: 0 / 0.8485 GB, free: 3.801 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 5.55e-05/0.01422, allocations: 44.77 kB / 0.8486 GB, free: 3.754 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002639/0.01448, allocations: 52.94 kB / 0.8486 GB, free: 3.699 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007321/0.01521, allocations: 412.5 kB / 0.849 GB, free: 3.266 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.086e-05/0.01526, allocations: 83.81 kB / 0.8491 GB, free: 3.164 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.0001159/0.01538, allocations: 37.47 kB / 0.8491 GB, free: 3.129 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001395/0.01552, allocations: 99.2 kB / 0.8492 GB, free: 3.031 MB / 0.8073 GB Notification: Performance of SimCode: time 5.41e-07/0.01552, allocations: 0 / 0.8492 GB, free: 3.031 MB / 0.8073 GB Notification: Performance of Templates: time 0.004819/0.02034, allocations: 2.849 MB / 0.852 GB, free: 268 kB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; mkfifo Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe >> ../files/Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.sim & ./Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.204433243256062]