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.001284/0.001284, allocations: 71.75 kB / 20.97 MB, free: 3.574 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.001218/0.001218, allocations: 169 kB / 24.28 MB, free: 276 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.9885/0.9885, allocations: 177.1 MB / 204.6 MB, free: 5.637 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.846/1.846, allocations: 377.8 MB / 0.6239 GB, free: 8.562 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.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.753e-06/1.753e-06, allocations: 0 / 0.8115 GB, free: 2.07 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.822e-05/1.997e-05, allocations: 2.312 kB / 0.8115 GB, free: 2.066 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss): time 0.00212/0.00214, allocations: 1.922 MB / 0.8134 GB, free: 160 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.003494/0.005634, allocations: 3.681 MB / 0.817 GB, free: 12.48 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.447e-05/0.005729, allocations: 0 / 0.817 GB, free: 12.48 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0006833/0.006412, allocations: 160.9 kB / 0.8171 GB, free: 12.32 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0001709/0.006583, allocations: 85.52 kB / 0.8172 GB, free: 12.24 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001148/0.006698, allocations: 49.02 kB / 0.8173 GB, free: 12.19 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0003984/0.007096, allocations: 288.3 kB / 0.8175 GB, free: 11.91 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001019/0.007198, allocations: 13.81 kB / 0.8176 GB, free: 11.89 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001072/0.007305, allocations: 101.1 kB / 0.8177 GB, free: 11.8 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000116/0.007421, allocations: 63.8 kB / 0.8177 GB, free: 11.73 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.915e-05/0.00744, allocations: 10.94 kB / 0.8177 GB, free: 11.73 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 8.113e-05/0.007522, allocations: 31.92 kB / 0.8178 GB, free: 11.7 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 6.579e-05/0.007587, allocations: 55.83 kB / 0.8178 GB, free: 11.64 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 5.974e-05/0.007647, allocations: 47.86 kB / 0.8179 GB, free: 11.59 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0002286/0.007876, allocations: 163.3 kB / 0.818 GB, free: 11.43 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.00788, allocations: 4 kB / 0.818 GB, free: 11.43 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.242e-06/0.007881, allocations: 0 / 0.818 GB, free: 11.43 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 6.072e-06/0.007887, allocations: 0 / 0.818 GB, free: 11.43 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.0006967/0.008584, allocations: 0.5445 MB / 0.8185 GB, free: 10.85 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.575e-05/0.00863, allocations: 12.03 kB / 0.8186 GB, free: 10.84 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002456/0.008875, allocations: 56.75 kB / 0.8186 GB, free: 10.79 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002771/0.009152, allocations: 204.6 kB / 0.8188 GB, free: 10.56 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.08e-05/0.009163, allocations: 0.9062 kB / 0.8188 GB, free: 10.56 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.891e-05/0.009182, allocations: 16.91 kB / 0.8188 GB, free: 10.54 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002026/0.009385, allocations: 105.5 kB / 0.8189 GB, free: 10.43 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.935e-06/0.009393, allocations: 192 / 0.8189 GB, free: 10.43 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.541e-05/0.009408, allocations: 8.109 kB / 0.8189 GB, free: 10.43 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.028e-05/0.009448, allocations: 12 kB / 0.8189 GB, free: 10.41 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.103e-05/0.009539, allocations: 34.62 kB / 0.819 GB, free: 10.38 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005073/0.01005, allocations: 398.3 kB / 0.8194 GB, free: 9.961 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001537/0.0102, allocations: 90.97 kB / 0.8194 GB, free: 9.859 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.461e-05/0.01027, allocations: 39.67 kB / 0.8195 GB, free: 9.816 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.78e-05/0.01029, allocations: 4.25 kB / 0.8195 GB, free: 9.812 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.481e-05/0.01032, allocations: 41.38 kB / 0.8195 GB, free: 9.762 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=13): time 1.142e-06/0.01032, allocations: 0 / 0.8195 GB, free: 9.762 MB / 0.7761 GB Notification: Performance of matching and sorting (n=13): time 0.0002946/0.01061, allocations: 134.4 kB / 0.8197 GB, free: 9.625 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.141e-05/0.01064, allocations: 55.41 kB / 0.8197 GB, free: 9.559 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001777/0.01082, allocations: 301.5 kB / 0.82 GB, free: 9.25 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.419e-05/0.01084, allocations: 25.7 kB / 0.82 GB, free: 9.219 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 8.856e-05/0.01093, allocations: 194.7 kB / 0.8202 GB, free: 9.023 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.642e-05/0.01096, allocations: 40.78 kB / 0.8202 GB, free: 8.984 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.421e-05/0.01101, allocations: 35.36 kB / 0.8203 GB, free: 8.941 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001369/0.01114, allocations: 0.5157 MB / 0.8208 GB, free: 8.414 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.543e-05/0.01119, allocations: 13.02 kB / 0.8208 GB, free: 8.402 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.131e-05/0.01123, allocations: 19.98 kB / 0.8208 GB, free: 8.383 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001016/0.01133, allocations: 57.58 kB / 0.8209 GB, free: 8.324 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.01133, allocations: 4 kB / 0.8209 GB, free: 8.32 MB / 0.7761 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001577/0.01149, allocations: 115.2 kB / 0.821 GB, free: 8.203 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.519e-05/0.01151, allocations: 8 kB / 0.821 GB, free: 8.195 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.01151, allocations: 1.656 kB / 0.821 GB, free: 8.195 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.368e-05/0.01152, allocations: 0 / 0.821 GB, free: 8.195 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001331/0.01166, allocations: 27.97 kB / 0.821 GB, free: 8.168 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.641e-06/0.01166, allocations: 0 / 0.821 GB, free: 8.168 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.833e-05/0.01172, allocations: 21.75 kB / 0.821 GB, free: 8.148 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.038e-05/0.01173, allocations: 7.938 kB / 0.821 GB, free: 8.141 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 7.809e-05/0.01181, allocations: 164.5 kB / 0.8212 GB, free: 7.969 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.24e-05/0.01184, allocations: 28.67 kB / 0.8212 GB, free: 7.941 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.822e-05/0.01188, allocations: 29.77 kB / 0.8213 GB, free: 7.914 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/0.01188, allocations: 1.344 kB / 0.8213 GB, free: 7.914 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/0.01189, allocations: 0 / 0.8213 GB, free: 7.914 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.848e-06/0.01189, allocations: 0 / 0.8213 GB, free: 7.914 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001565/0.01205, allocations: 200.5 kB / 0.8214 GB, free: 7.684 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.01205, allocations: 1.406 kB / 0.8215 GB, free: 7.684 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.063e-05/0.01213, allocations: 35.91 kB / 0.8215 GB, free: 7.648 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.01213, allocations: 0 / 0.8215 GB, free: 7.648 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.112e-05/0.01214, allocations: 10.83 kB / 0.8215 GB, free: 7.641 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.01214, allocations: 0 / 0.8215 GB, free: 7.641 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.01214, allocations: 0 / 0.8215 GB, free: 7.641 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002047/0.01235, allocations: 275.3 kB / 0.8218 GB, free: 7.355 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 4.511e-05/0.01239, allocations: 39.77 kB / 0.8218 GB, free: 7.316 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.979e-05/0.01241, allocations: 0 / 0.8218 GB, free: 7.316 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.954e-05/0.01248, allocations: 8 kB / 0.8218 GB, free: 7.309 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.605e-05/0.01253, allocations: 15.97 kB / 0.8218 GB, free: 7.293 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.251e-05/0.01254, allocations: 8 kB / 0.8218 GB, free: 7.285 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001034/0.01264, allocations: 205.1 kB / 0.822 GB, free: 7.086 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.01264, allocations: 0 / 0.822 GB, free: 7.086 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001806/0.01282, allocations: 39.94 kB / 0.8221 GB, free: 7.047 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.0001309/0.01296, allocations: 99.25 kB / 0.8222 GB, free: 6.941 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001674/0.01312, allocations: 75.58 kB / 0.8222 GB, free: 6.863 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.01312, allocations: 0 / 0.8222 GB, free: 6.863 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 6.598e-05/0.01319, allocations: 51.61 kB / 0.8223 GB, free: 6.809 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002876/0.01348, allocations: 60.28 kB / 0.8223 GB, free: 6.75 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007625/0.01424, allocations: 399.5 kB / 0.8227 GB, free: 6.328 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.587e-05/0.0143, allocations: 87.81 kB / 0.8228 GB, free: 6.223 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 9.528e-05/0.01439, allocations: 41.45 kB / 0.8228 GB, free: 6.184 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.371e-05/0.01444, allocations: 20.48 kB / 0.8229 GB, free: 6.164 MB / 0.7761 GB Notification: Performance of SimCode: time 9.02e-07/0.01444, allocations: 0 / 0.8229 GB, free: 6.164 MB / 0.7761 GB Notification: Performance of Templates: time 0.004023/0.01846, allocations: 2.377 MB / 0.8252 GB, free: 3.875 MB / 0.7761 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: 5.038465347839519]