Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.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.0009379/0.0009379, allocations: 80.81 kB / 20.75 MB, free: 3.73 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.0009677/0.0009677, allocations: 161 kB / 24.17 MB, free: 316 kB / 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.9854/0.9854, allocations: 177.2 MB / 204.6 MB, free: 5.492 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.818/1.818, allocations: 377.9 MB / 0.624 GB, free: 8.344 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|heaLos.QLos_flow.[0-9,]+.|TEnv.y|T1.y|T2.y|T3.y",fileNamePrefix="Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss") translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|heaLos.QLos_flow.[0-9,]+.|TEnv.y|T1.y|T2.y|T3.y",fileNamePrefix="Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.192e-06/1.192e-06, allocations: 0 / 0.76 GB, free: 6.66 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.255e-05/2.374e-05, allocations: 5.953 kB / 0.76 GB, free: 6.656 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss): time 0.00226/0.002284, allocations: 1.925 MB / 0.7619 GB, free: 4.742 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.003367/0.005651, allocations: 3.695 MB / 0.7655 GB, free: 1.066 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001064/0.005757, allocations: 0 / 0.7655 GB, free: 1.066 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0006594/0.006416, allocations: 172.5 kB / 0.7657 GB, free: 0.8984 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.000167/0.006583, allocations: 72.67 kB / 0.7657 GB, free: 0.8281 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001112/0.006695, allocations: 53.16 kB / 0.7658 GB, free: 0.7773 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0003736/0.007068, allocations: 279 kB / 0.7661 GB, free: 0.5078 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 7.58e-05/0.007144, allocations: 22.44 kB / 0.7661 GB, free: 496 kB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001234/0.007267, allocations: 99.77 kB / 0.7662 GB, free: 396 kB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 9.203e-05/0.007359, allocations: 59.83 kB / 0.7662 GB, free: 336 kB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.613e-05/0.007376, allocations: 8 kB / 0.7662 GB, free: 328 kB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 6.58e-05/0.007441, allocations: 27.91 kB / 0.7663 GB, free: 300 kB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 5.269e-05/0.007494, allocations: 58.81 kB / 0.7663 GB, free: 244 kB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 4.821e-05/0.007542, allocations: 51.84 kB / 0.7664 GB, free: 192 kB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.00017/0.007712, allocations: 159.2 kB / 0.7665 GB, free: 32 kB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.007716, allocations: 4 kB / 0.7665 GB, free: 28 kB / 0.7136 GB Notification: Performance of FrontEnd: time 1.042e-06/0.007717, allocations: 0 / 0.7665 GB, free: 28 kB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.878e-06/0.007721, allocations: 0 / 0.7665 GB, free: 28 kB / 0.7136 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.0004673/0.008188, allocations: 425.2 kB / 0.7669 GB, free: 15.59 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.075e-05/0.008219, allocations: 8.031 kB / 0.7669 GB, free: 15.58 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001851/0.008404, allocations: 53.53 kB / 0.767 GB, free: 15.53 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001762/0.00858, allocations: 189.7 kB / 0.7672 GB, free: 15.32 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.095e-06/0.008588, allocations: 384 / 0.7672 GB, free: 15.32 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.243e-05/0.008601, allocations: 7.031 kB / 0.7672 GB, free: 15.32 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001615/0.008762, allocations: 101.6 kB / 0.7673 GB, free: 15.21 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.561e-06/0.008768, allocations: 192 / 0.7673 GB, free: 15.21 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.096e-05/0.008779, allocations: 4.125 kB / 0.7673 GB, free: 15.2 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.621e-05/0.008805, allocations: 15.98 kB / 0.7673 GB, free: 15.19 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.393e-05/0.008859, allocations: 32.67 kB / 0.7673 GB, free: 15.16 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003111/0.00917, allocations: 241.8 kB / 0.7676 GB, free: 14.91 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 9.181e-05/0.009262, allocations: 62.55 kB / 0.7676 GB, free: 14.84 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.183e-05/0.009304, allocations: 32.84 kB / 0.7676 GB, free: 14.8 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.465e-05/0.009318, allocations: 4 kB / 0.7676 GB, free: 14.8 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.987e-05/0.009338, allocations: 38.44 kB / 0.7677 GB, free: 14.75 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=13): time 2.054e-06/0.00934, allocations: 5.734 kB / 0.7677 GB, free: 14.75 MB / 0.7292 GB Notification: Performance of matching and sorting (n=13): time 0.0001743/0.009515, allocations: 94.89 kB / 0.7678 GB, free: 14.65 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.705e-05/0.009542, allocations: 55.41 kB / 0.7678 GB, free: 14.58 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001157/0.009657, allocations: 221 kB / 0.768 GB, free: 14.36 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.466e-05/0.009672, allocations: 26.92 kB / 0.7681 GB, free: 14.32 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 4.132e-05/0.009713, allocations: 120.5 kB / 0.7682 GB, free: 14.2 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.263e-05/0.009746, allocations: 35.66 kB / 0.7682 GB, free: 14.17 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.195e-05/0.009788, allocations: 40.11 kB / 0.7683 GB, free: 14.12 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.891e-05/0.009867, allocations: 334.8 kB / 0.7686 GB, free: 13.79 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.877e-05/0.009896, allocations: 11.98 kB / 0.7686 GB, free: 13.78 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.439e-05/0.00992, allocations: 14.88 kB / 0.7686 GB, free: 13.77 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.623e-05/0.009986, allocations: 55.56 kB / 0.7687 GB, free: 13.71 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.009988, allocations: 0 / 0.7687 GB, free: 13.71 MB / 0.7292 GB Notification: Performance of matching and sorting (n=13) (initialization): time 9.424e-05/0.01008, allocations: 79.97 kB / 0.7687 GB, free: 13.62 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.149e-05/0.01009, allocations: 8 kB / 0.7687 GB, free: 13.62 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.988e-06/0.0101, allocations: 0 / 0.7687 GB, free: 13.62 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.287e-06/0.01011, allocations: 0 / 0.7687 GB, free: 13.62 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001098/0.01022, allocations: 35.91 kB / 0.7688 GB, free: 13.58 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.415e-06/0.01022, allocations: 1.406 kB / 0.7688 GB, free: 13.58 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.917e-05/0.01027, allocations: 11.95 kB / 0.7688 GB, free: 13.57 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.626e-06/0.01028, allocations: 3.984 kB / 0.7688 GB, free: 13.57 MB / 0.7292 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 6.675e-05/0.01034, allocations: 121.9 kB / 0.7689 GB, free: 13.44 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.727e-05/0.01037, allocations: 15.92 kB / 0.7689 GB, free: 13.42 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.809e-05/0.01041, allocations: 33.77 kB / 0.769 GB, free: 13.39 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.01041, allocations: 4.594 kB / 0.769 GB, free: 13.38 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.854e-06/0.01041, allocations: 0.625 kB / 0.769 GB, free: 13.38 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.01042, allocations: 4 kB / 0.769 GB, free: 13.38 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001276/0.01054, allocations: 122.5 kB / 0.7691 GB, free: 13.24 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.01055, allocations: 0 / 0.7691 GB, free: 13.24 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.484e-05/0.01062, allocations: 28.48 kB / 0.7691 GB, free: 13.21 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.01062, allocations: 0.5312 kB / 0.7691 GB, free: 13.21 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.656e-06/0.01063, allocations: 9.484 kB / 0.7691 GB, free: 13.21 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.01063, allocations: 3.938 kB / 0.7691 GB, free: 13.2 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.01063, allocations: 0 / 0.7691 GB, free: 13.2 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000137/0.01077, allocations: 186.2 kB / 0.7693 GB, free: 13.01 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 4.034e-05/0.01081, allocations: 28.78 kB / 0.7693 GB, free: 12.98 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.946e-05/0.01083, allocations: 7.984 kB / 0.7693 GB, free: 12.97 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.225e-05/0.01089, allocations: 8.531 kB / 0.7693 GB, free: 12.96 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.458e-05/0.01093, allocations: 16.56 kB / 0.7694 GB, free: 12.95 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.37e-06/0.01093, allocations: 0 / 0.7694 GB, free: 12.95 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 5.131e-05/0.01098, allocations: 75.38 kB / 0.7694 GB, free: 12.88 MB / 0.7292 GB Notification: Performance of sort global known variables: time 4e-08/0.01098, allocations: 0 / 0.7694 GB, free: 12.88 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001538/0.01114, allocations: 48.67 kB / 0.7695 GB, free: 12.83 MB / 0.7292 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.000168/0.01131, allocations: 81.48 kB / 0.7696 GB, free: 12.74 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001024/0.01141, allocations: 57.53 kB / 0.7696 GB, free: 12.68 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 4.057e-06/0.01141, allocations: 4 kB / 0.7696 GB, free: 12.68 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 3.956e-05/0.01145, allocations: 33.84 kB / 0.7696 GB, free: 12.64 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002107/0.01166, allocations: 49.7 kB / 0.7697 GB, free: 12.6 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006395/0.0123, allocations: 407.7 kB / 0.7701 GB, free: 12.17 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001988/0.0125, allocations: 87.81 kB / 0.7702 GB, free: 12.07 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 7.274e-05/0.01257, allocations: 25.09 kB / 0.7702 GB, free: 12.04 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000104/0.01268, allocations: 92.31 kB / 0.7703 GB, free: 11.95 MB / 0.7292 GB Notification: Performance of SimCode: time 8.32e-07/0.01268, allocations: 0 / 0.7703 GB, free: 11.95 MB / 0.7292 GB Notification: Performance of Templates: time 0.003973/0.01665, allocations: 2.487 MB / 0.7727 GB, free: 9.629 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; mkfifo Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe >> ../files/Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.sim & ./Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss.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: 4.862397558055818]