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.001009/0.001009, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.001053/0.001053, allocations: 161 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 1.065/1.065, allocations: 177.1 MB / 204.2 MB, free: 5.246 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.906/1.906, allocations: 377.8 MB / 0.6236 GB, free: 8.547 MB / 0.5886 GB " [Timeout remaining time 177] 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.723e-06/1.723e-06, allocations: 0 / 0.8115 GB, free: 1.727 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.792e-05/1.965e-05, allocations: 5.453 kB / 0.8115 GB, free: 1.723 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss): time 0.002339/0.002358, allocations: 1.918 MB / 0.8134 GB, free: 15.81 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.003812/0.00617, allocations: 3.688 MB / 0.817 GB, free: 12.12 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001153/0.006286, allocations: 0 / 0.817 GB, free: 12.12 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0007499/0.007036, allocations: 161.7 kB / 0.8172 GB, free: 11.97 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0001966/0.007232, allocations: 85.41 kB / 0.8172 GB, free: 11.89 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.000123/0.007355, allocations: 47.92 kB / 0.8173 GB, free: 11.84 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0004386/0.007794, allocations: 284.8 kB / 0.8176 GB, free: 11.56 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001096/0.007903, allocations: 19.14 kB / 0.8176 GB, free: 11.54 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001368/0.00804, allocations: 99.72 kB / 0.8177 GB, free: 11.45 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001167/0.008157, allocations: 59.86 kB / 0.8177 GB, free: 11.39 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.98e-05/0.008177, allocations: 8.969 kB / 0.8177 GB, free: 11.38 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 8.589e-05/0.008263, allocations: 31.86 kB / 0.8178 GB, free: 11.35 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 6.516e-05/0.008328, allocations: 62.14 kB / 0.8178 GB, free: 11.29 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 5.708e-05/0.008385, allocations: 51.84 kB / 0.8179 GB, free: 11.24 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0002075/0.008592, allocations: 151.4 kB / 0.818 GB, free: 11.09 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.008597, allocations: 7.938 kB / 0.818 GB, free: 11.08 MB / 0.7761 GB Notification: Performance of FrontEnd: time 9.12e-07/0.008598, allocations: 0 / 0.818 GB, free: 11.08 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.32e-06/0.008603, allocations: 0 / 0.818 GB, free: 11.08 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.000602/0.009205, allocations: 0.5533 MB / 0.8186 GB, free: 10.5 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.953e-05/0.009245, allocations: 12.03 kB / 0.8186 GB, free: 10.48 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002161/0.009461, allocations: 56.75 kB / 0.8186 GB, free: 10.43 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002369/0.009698, allocations: 203.5 kB / 0.8188 GB, free: 10.2 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.137e-06/0.009707, allocations: 1.156 kB / 0.8188 GB, free: 10.2 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.604e-05/0.009723, allocations: 4.375 kB / 0.8188 GB, free: 10.2 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001868/0.00991, allocations: 115.8 kB / 0.8189 GB, free: 10.08 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.366e-06/0.009918, allocations: 192 / 0.8189 GB, free: 10.08 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.369e-05/0.009932, allocations: 4.688 kB / 0.819 GB, free: 10.07 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.084e-05/0.009963, allocations: 9.312 kB / 0.819 GB, free: 10.07 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.773e-05/0.01005, allocations: 34.62 kB / 0.819 GB, free: 10.04 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004764/0.01053, allocations: 392.2 kB / 0.8194 GB, free: 9.617 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001512/0.01068, allocations: 95.72 kB / 0.8195 GB, free: 9.512 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.372e-05/0.01075, allocations: 43.67 kB / 0.8195 GB, free: 9.465 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.228e-05/0.01077, allocations: 5.172 kB / 0.8195 GB, free: 9.461 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.51e-05/0.0108, allocations: 37.39 kB / 0.8195 GB, free: 9.414 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=13): time 7.91e-07/0.0108, allocations: 0.5 kB / 0.8195 GB, free: 9.414 MB / 0.7761 GB Notification: Performance of matching and sorting (n=13): time 0.0003064/0.01111, allocations: 138.2 kB / 0.8197 GB, free: 9.273 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.548e-05/0.01115, allocations: 56.59 kB / 0.8197 GB, free: 9.207 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000198/0.01135, allocations: 300.3 kB / 0.82 GB, free: 8.898 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.918e-05/0.01137, allocations: 29.7 kB / 0.82 GB, free: 8.863 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 9.688e-05/0.01147, allocations: 190.7 kB / 0.8202 GB, free: 8.676 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 5.142e-05/0.01152, allocations: 47.64 kB / 0.8203 GB, free: 8.629 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.306e-05/0.01157, allocations: 35.36 kB / 0.8203 GB, free: 8.586 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001698/0.01174, allocations: 0.5079 MB / 0.8208 GB, free: 8.066 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.881e-05/0.01179, allocations: 19.98 kB / 0.8208 GB, free: 8.047 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.309e-05/0.01183, allocations: 16.98 kB / 0.8208 GB, free: 8.031 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001045/0.01194, allocations: 56.67 kB / 0.8209 GB, free: 7.973 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.01194, allocations: 0 / 0.8209 GB, free: 7.973 MB / 0.7761 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001848/0.01212, allocations: 120.4 kB / 0.821 GB, free: 7.852 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.865e-05/0.01214, allocations: 4.938 kB / 0.821 GB, free: 7.848 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.01215, allocations: 3.938 kB / 0.821 GB, free: 7.844 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.928e-05/0.01217, allocations: 4 kB / 0.821 GB, free: 7.84 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001463/0.01232, allocations: 33 kB / 0.821 GB, free: 7.809 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.225e-06/0.01232, allocations: 0 / 0.821 GB, free: 7.809 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.982e-05/0.01238, allocations: 17.05 kB / 0.8211 GB, free: 7.793 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.278e-05/0.0124, allocations: 3.984 kB / 0.8211 GB, free: 7.789 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 9.579e-05/0.01249, allocations: 161.6 kB / 0.8212 GB, free: 7.621 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.878e-05/0.01253, allocations: 31.8 kB / 0.8212 GB, free: 7.59 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.617e-05/0.01259, allocations: 30.77 kB / 0.8213 GB, free: 7.562 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.856e-06/0.01259, allocations: 3.938 kB / 0.8213 GB, free: 7.559 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.0126, allocations: 0 / 0.8213 GB, free: 7.559 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.0126, allocations: 0.5312 kB / 0.8213 GB, free: 7.559 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001909/0.01279, allocations: 200.5 kB / 0.8215 GB, free: 7.328 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.01279, allocations: 1.656 kB / 0.8215 GB, free: 7.328 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.086e-05/0.01287, allocations: 31.91 kB / 0.8215 GB, free: 7.297 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.32e-06/0.01288, allocations: 4 kB / 0.8215 GB, free: 7.293 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.222e-05/0.01289, allocations: 0.5 kB / 0.8215 GB, free: 7.293 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.01289, allocations: 0 / 0.8215 GB, free: 7.293 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.305e-06/0.0129, allocations: 5.484 kB / 0.8215 GB, free: 7.289 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002209/0.01312, allocations: 271.7 kB / 0.8218 GB, free: 7.004 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 4.764e-05/0.01316, allocations: 39.77 kB / 0.8218 GB, free: 6.965 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.988e-05/0.01318, allocations: 4.5 kB / 0.8218 GB, free: 6.961 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.678e-05/0.01325, allocations: 4.844 kB / 0.8218 GB, free: 6.957 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.944e-05/0.0133, allocations: 15.97 kB / 0.8218 GB, free: 6.941 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.854e-06/0.01331, allocations: 5.094 kB / 0.8218 GB, free: 6.938 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001096/0.01342, allocations: 205.1 kB / 0.822 GB, free: 6.738 MB / 0.7761 GB Notification: Performance of sort global known variables: time 4e-08/0.01342, allocations: 0 / 0.822 GB, free: 6.738 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001899/0.01361, allocations: 47.36 kB / 0.8221 GB, free: 6.695 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.0001204/0.01373, allocations: 99.25 kB / 0.8222 GB, free: 6.59 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001613/0.01389, allocations: 75.58 kB / 0.8222 GB, free: 6.512 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.01389, allocations: 0 / 0.8222 GB, free: 6.512 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 6.032e-05/0.01395, allocations: 43.61 kB / 0.8223 GB, free: 6.465 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00029/0.01424, allocations: 64.61 kB / 0.8224 GB, free: 6.406 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008147/0.01506, allocations: 403.5 kB / 0.8227 GB, free: 5.98 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.29e-05/0.01512, allocations: 87.75 kB / 0.8228 GB, free: 5.875 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0001038/0.01522, allocations: 41.44 kB / 0.8229 GB, free: 5.836 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.991e-05/0.01527, allocations: 24.48 kB / 0.8229 GB, free: 5.812 MB / 0.7761 GB Notification: Performance of SimCode: time 7.42e-07/0.01527, allocations: 0 / 0.8229 GB, free: 5.812 MB / 0.7761 GB Notification: Performance of Templates: time 0.004392/0.01966, allocations: 2.369 MB / 0.8252 GB, free: 3.527 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.48478416306898]