Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001411/0.001411, allocations: 83.59 kB / 20.45 MB, free: 4.121 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.001715/0.001715, allocations: 165 kB / 23.82 MB, free: 0.75 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 0.9729/0.9729, allocations: 177.1 MB / 204.2 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 179] 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 1.763/1.763, allocations: 377.8 MB / 0.6236 GB, free: 8.551 MB / 0.5886 GB " [Timeout remaining time 178] 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.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_12_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_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 3.938 kB / 0.8115 GB, free: 1.742 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.188e-05/2.341e-05, allocations: 2.312 kB / 0.8115 GB, free: 1.738 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss): time 0.002337/0.00236, allocations: 1.94 MB / 0.8134 GB, free: 15.81 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.003421/0.005781, allocations: 3.74 MB / 0.8171 GB, free: 12.07 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000102/0.005883, allocations: 7.938 kB / 0.8171 GB, free: 12.07 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0007355/0.006619, allocations: 176.9 kB / 0.8173 GB, free: 11.89 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0001759/0.006794, allocations: 85.53 kB / 0.8173 GB, free: 11.81 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001052/0.0069, allocations: 48.58 kB / 0.8174 GB, free: 11.77 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0003832/0.007283, allocations: 296.7 kB / 0.8177 GB, free: 11.48 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 9.726e-05/0.00738, allocations: 21.8 kB / 0.8177 GB, free: 11.45 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001313/0.007511, allocations: 113.2 kB / 0.8178 GB, free: 11.34 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 9.227e-05/0.007604, allocations: 63.81 kB / 0.8179 GB, free: 11.28 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.899e-05/0.007623, allocations: 8.953 kB / 0.8179 GB, free: 11.27 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 6.979e-05/0.007692, allocations: 27.98 kB / 0.8179 GB, free: 11.25 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 5.426e-05/0.007747, allocations: 51.84 kB / 0.8179 GB, free: 11.2 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 5.305e-05/0.0078, allocations: 61.88 kB / 0.818 GB, free: 11.14 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001875/0.007987, allocations: 159.3 kB / 0.8182 GB, free: 10.98 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.816e-06/0.00799, allocations: 0 / 0.8182 GB, free: 10.98 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.362e-06/0.007991, allocations: 3.938 kB / 0.8182 GB, free: 10.98 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.089e-06/0.007997, allocations: 0 / 0.8182 GB, free: 10.98 MB / 0.7761 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.000571/0.008567, allocations: 0.556 MB / 0.8187 GB, free: 10.39 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.944e-05/0.008607, allocations: 12.02 kB / 0.8187 GB, free: 10.38 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000206/0.008813, allocations: 52.77 kB / 0.8188 GB, free: 10.32 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001915/0.009004, allocations: 202.9 kB / 0.819 GB, free: 10.11 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.122e-05/0.009016, allocations: 12.3 kB / 0.819 GB, free: 10.09 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.295e-05/0.009029, allocations: 4.375 kB / 0.819 GB, free: 10.09 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001795/0.009208, allocations: 99.38 kB / 0.8191 GB, free: 9.984 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.554e-06/0.009216, allocations: 1.531 kB / 0.8191 GB, free: 9.984 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.27e-05/0.009228, allocations: 8.125 kB / 0.8191 GB, free: 9.977 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.438e-05/0.009263, allocations: 12 kB / 0.8191 GB, free: 9.965 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.705e-05/0.00935, allocations: 32.47 kB / 0.8191 GB, free: 9.934 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004392/0.009789, allocations: 404.2 kB / 0.8195 GB, free: 9.504 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001337/0.009923, allocations: 99.61 kB / 0.8196 GB, free: 9.395 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.49e-05/0.009988, allocations: 36.33 kB / 0.8196 GB, free: 9.355 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.487e-05/0.01, allocations: 11.38 kB / 0.8196 GB, free: 9.348 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.741e-05/0.01002, allocations: 33.39 kB / 0.8197 GB, free: 9.305 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=13): time 1.202e-06/0.01002, allocations: 0 / 0.8197 GB, free: 9.305 MB / 0.7761 GB Notification: Performance of matching and sorting (n=13): time 0.0002682/0.01029, allocations: 139.3 kB / 0.8198 GB, free: 9.164 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.351e-05/0.01032, allocations: 59.41 kB / 0.8199 GB, free: 9.094 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004213/0.01074, allocations: 306.3 kB / 0.8202 GB, free: 8.773 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.715e-05/0.01076, allocations: 33.7 kB / 0.8202 GB, free: 8.734 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 7.631e-05/0.01084, allocations: 198.7 kB / 0.8204 GB, free: 8.535 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.627e-05/0.01087, allocations: 41.91 kB / 0.8204 GB, free: 8.496 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.281e-05/0.01092, allocations: 35.36 kB / 0.8205 GB, free: 8.453 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001167/0.01103, allocations: 0.5118 MB / 0.821 GB, free: 7.93 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.363e-05/0.01108, allocations: 19.98 kB / 0.821 GB, free: 7.91 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.073e-05/0.01112, allocations: 15.98 kB / 0.821 GB, free: 7.895 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.675e-05/0.01121, allocations: 63.73 kB / 0.8211 GB, free: 7.832 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.01122, allocations: 0 / 0.8211 GB, free: 7.832 MB / 0.7761 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001547/0.01137, allocations: 122.5 kB / 0.8212 GB, free: 7.707 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.385e-05/0.01138, allocations: 10.66 kB / 0.8212 GB, free: 7.699 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.037e-06/0.01139, allocations: 0 / 0.8212 GB, free: 7.699 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.291e-05/0.0114, allocations: 5.109 kB / 0.8212 GB, free: 7.695 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001311/0.01153, allocations: 23.98 kB / 0.8212 GB, free: 7.672 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.01154, allocations: 0 / 0.8212 GB, free: 7.672 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.771e-05/0.0116, allocations: 16.97 kB / 0.8212 GB, free: 7.656 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.899e-06/0.01161, allocations: 4 kB / 0.8212 GB, free: 7.652 MB / 0.7761 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.03e-05/0.01169, allocations: 165.5 kB / 0.8214 GB, free: 7.48 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.157e-05/0.01172, allocations: 27.8 kB / 0.8214 GB, free: 7.453 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.174e-05/0.01176, allocations: 35.86 kB / 0.8214 GB, free: 7.418 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.01176, allocations: 0 / 0.8214 GB, free: 7.418 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.01177, allocations: 4 kB / 0.8214 GB, free: 7.414 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.01177, allocations: 7.984 kB / 0.8215 GB, free: 7.406 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001659/0.01194, allocations: 204.5 kB / 0.8217 GB, free: 7.172 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.265e-06/0.01194, allocations: 6.141 kB / 0.8217 GB, free: 7.168 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.421e-05/0.01202, allocations: 31.91 kB / 0.8217 GB, free: 7.137 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.01202, allocations: 0 / 0.8217 GB, free: 7.137 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.158e-05/0.01204, allocations: 4 kB / 0.8217 GB, free: 7.133 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.532e-06/0.01204, allocations: 0 / 0.8217 GB, free: 7.133 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.01204, allocations: 0 / 0.8217 GB, free: 7.133 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001962/0.01223, allocations: 269.3 kB / 0.8219 GB, free: 6.852 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 4.632e-05/0.01228, allocations: 39.78 kB / 0.822 GB, free: 6.812 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.005e-05/0.0123, allocations: 3.984 kB / 0.822 GB, free: 6.809 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.856e-05/0.01237, allocations: 8 kB / 0.822 GB, free: 6.801 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.871e-05/0.01242, allocations: 15.97 kB / 0.822 GB, free: 6.785 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.914e-06/0.01243, allocations: 4 kB / 0.822 GB, free: 6.781 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 9.534e-05/0.01252, allocations: 211 kB / 0.8222 GB, free: 6.578 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7.1e-08/0.01252, allocations: 3.938 kB / 0.8222 GB, free: 6.574 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001721/0.01269, allocations: 39.94 kB / 0.8223 GB, free: 6.535 MB / 0.7761 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.0001254/0.01282, allocations: 103.2 kB / 0.8224 GB, free: 6.426 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001589/0.01298, allocations: 79.58 kB / 0.8224 GB, free: 6.344 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.182e-06/0.01298, allocations: 4 kB / 0.8224 GB, free: 6.34 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 6.032e-05/0.01304, allocations: 50.86 kB / 0.8225 GB, free: 6.289 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002806/0.01332, allocations: 56.92 kB / 0.8225 GB, free: 6.227 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007456/0.01407, allocations: 419.3 kB / 0.8229 GB, free: 5.785 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.456e-05/0.01412, allocations: 83.81 kB / 0.823 GB, free: 5.684 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 9.907e-05/0.01422, allocations: 45.44 kB / 0.8231 GB, free: 5.637 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.919e-05/0.01427, allocations: 24.48 kB / 0.8231 GB, free: 5.613 MB / 0.7761 GB Notification: Performance of SimCode: time 8.82e-07/0.01427, allocations: 0 / 0.8231 GB, free: 5.613 MB / 0.7761 GB Notification: Performance of Templates: time 0.004489/0.01876, allocations: 2.822 MB / 0.8258 GB, free: 2.879 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; mkfifo Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe >> ../files/Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.sim & ./Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/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: 4.852526435628533]