Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002129/0.002129, allocations: 114.8 kB / 18.89 MB, free: 2.898 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002251/0.002251, allocations: 197.8 kB / 22.17 MB, free: 5.211 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.456/1.456, allocations: 225.6 MB / 250.9 MB, free: 13.25 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.737/2.737, allocations: 476.7 MB / 0.7645 GB, free: 10.07 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.1.|heaLos.QLos.2.|heaLos.QLos.3.|TEnv.y|T1.y|T2.y|T3.y",fileNamePrefix="Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss") translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|heaLos.QLos.1.|heaLos.QLos.2.|heaLos.QLos.3.|TEnv.y|T1.y|T2.y|T3.y",fileNamePrefix="Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.003412/0.003412, allocations: 72.73 kB / 1.109 GB, free: 12.1 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3238/0.3272, allocations: 168.7 MB / 1.274 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss): time 0.003345/0.3305, allocations: 1.919 MB / 1.276 GB, free: 9.273 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.004395/0.3349, allocations: 3.502 MB / 1.279 GB, free: 5.754 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.909e-05/0.335, allocations: 0 / 1.279 GB, free: 5.754 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0002703/0.3353, allocations: 55.62 kB / 1.279 GB, free: 5.699 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0004718/0.3358, allocations: 127.2 kB / 1.28 GB, free: 5.574 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 7.954e-05/0.3358, allocations: 31.97 kB / 1.28 GB, free: 5.543 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002656/0.3361, allocations: 175.2 kB / 1.28 GB, free: 5.371 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001098/0.3362, allocations: 17.67 kB / 1.28 GB, free: 5.355 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001786/0.3364, allocations: 83.69 kB / 1.28 GB, free: 5.273 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000164/0.3366, allocations: 79.56 kB / 1.28 GB, free: 5.195 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.223e-05/0.3366, allocations: 8 kB / 1.28 GB, free: 5.188 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 9.709e-05/0.3367, allocations: 31.97 kB / 1.28 GB, free: 5.156 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 7.412e-05/0.3368, allocations: 35.78 kB / 1.28 GB, free: 5.121 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 8.642e-05/0.3368, allocations: 75.55 kB / 1.28 GB, free: 5.047 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002652/0.3371, allocations: 171.2 kB / 1.28 GB, free: 4.879 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.3371, allocations: 0 / 1.28 GB, free: 4.879 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.693e-06/0.3371, allocations: 0 / 1.28 GB, free: 4.879 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.282e-06/0.3371, allocations: 0 / 1.28 GB, free: 4.879 MB / 0.9825 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.0009597/0.3381, allocations: 0.4983 MB / 1.281 GB, free: 4.332 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.895e-05/0.3381, allocations: 8.031 kB / 1.281 GB, free: 4.324 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.122e-05/0.3382, allocations: 20.84 kB / 1.281 GB, free: 4.305 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003866/0.3386, allocations: 254.9 kB / 1.281 GB, free: 4.016 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.276e-05/0.3386, allocations: 8.312 kB / 1.281 GB, free: 4.008 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.172e-05/0.3386, allocations: 8.359 kB / 1.281 GB, free: 4 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003645/0.339, allocations: 139.3 kB / 1.281 GB, free: 3.859 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.157e-06/0.339, allocations: 0 / 1.281 GB, free: 3.859 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.889e-05/0.339, allocations: 4 kB / 1.281 GB, free: 3.855 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.857e-05/0.339, allocations: 15.89 kB / 1.281 GB, free: 3.84 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004453/0.3395, allocations: 135.8 kB / 1.281 GB, free: 3.707 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007597/0.3402, allocations: 444.6 kB / 1.282 GB, free: 3.223 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004266/0.3407, allocations: 150.5 kB / 1.282 GB, free: 3.066 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002618/0.3409, allocations: 96.72 kB / 1.282 GB, free: 2.969 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.235e-05/0.3409, allocations: 4 kB / 1.282 GB, free: 2.965 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.26e-05/0.341, allocations: 38.56 kB / 1.282 GB, free: 2.918 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=13): time 1.212e-06/0.341, allocations: 0 / 1.282 GB, free: 2.918 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13): time 0.0008643/0.3418, allocations: 277.7 kB / 1.282 GB, free: 2.641 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.559e-05/0.3419, allocations: 55.39 kB / 1.282 GB, free: 2.574 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002209/0.3421, allocations: 209 kB / 1.282 GB, free: 2.359 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.473e-05/0.3421, allocations: 25.7 kB / 1.282 GB, free: 2.328 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 9.018e-05/0.3422, allocations: 128 kB / 1.283 GB, free: 2.199 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 6.331e-05/0.3423, allocations: 43.64 kB / 1.283 GB, free: 2.156 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.55e-05/0.3423, allocations: 29.7 kB / 1.283 GB, free: 2.121 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001682/0.3425, allocations: 334.8 kB / 1.283 GB, free: 1.785 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002339/0.3427, allocations: 75.88 kB / 1.283 GB, free: 1.711 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002253/0.343, allocations: 71.19 kB / 1.283 GB, free: 1.645 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004564/0.3434, allocations: 164.7 kB / 1.283 GB, free: 1.48 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.3434, allocations: 0 / 1.283 GB, free: 1.48 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005693/0.344, allocations: 205.4 kB / 1.284 GB, free: 1.273 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.764e-05/0.344, allocations: 8 kB / 1.284 GB, free: 1.266 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.344, allocations: 4 kB / 1.284 GB, free: 1.262 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.589e-05/0.344, allocations: 0 / 1.284 GB, free: 1.262 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002684/0.3443, allocations: 35.91 kB / 1.284 GB, free: 1.227 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.286e-06/0.3443, allocations: 7.922 kB / 1.284 GB, free: 1.219 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001615/0.3445, allocations: 15.98 kB / 1.284 GB, free: 1.203 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.514e-05/0.3445, allocations: 4 kB / 1.284 GB, free: 1.199 MB / 0.9825 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 0.0001255/0.3446, allocations: 129.8 kB / 1.284 GB, free: 1.062 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.7e-05/0.3447, allocations: 23.86 kB / 1.284 GB, free: 1.039 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.542e-05/0.3447, allocations: 21.84 kB / 1.284 GB, free: 1.02 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.599e-06/0.3447, allocations: 4 kB / 1.284 GB, free: 1.016 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.837e-06/0.3447, allocations: 3.984 kB / 1.284 GB, free: 1.012 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.11e-06/0.3447, allocations: 3.984 kB / 1.284 GB, free: 1.008 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003163/0.3451, allocations: 257.4 kB / 1.284 GB, free: 0.707 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.105e-06/0.3451, allocations: 4 kB / 1.284 GB, free: 0.7031 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002287/0.3453, allocations: 43.89 kB / 1.284 GB, free: 0.6602 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.3453, allocations: 0 / 1.284 GB, free: 0.6602 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.295e-05/0.3453, allocations: 4 kB / 1.284 GB, free: 0.6562 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.3453, allocations: 0 / 1.284 GB, free: 0.6562 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.3453, allocations: 0 / 1.284 GB, free: 0.6562 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006102/0.3459, allocations: 312.5 kB / 1.284 GB, free: 344 kB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001197/0.346, allocations: 116.9 kB / 1.284 GB, free: 208 kB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.159e-05/0.3461, allocations: 0 / 1.284 GB, free: 208 kB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000199/0.3463, allocations: 15.98 kB / 1.284 GB, free: 192 kB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.03e-05/0.3463, allocations: 7.984 kB / 1.284 GB, free: 184 kB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.614e-05/0.3463, allocations: 7.984 kB / 1.284 GB, free: 176 kB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001519/0.3465, allocations: 156.5 kB / 1.285 GB, free: 20 kB / 0.9825 GB Notification: Performance of sort global known variables: time 9.1e-08/0.3465, allocations: 0 / 1.285 GB, free: 20 kB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002958/0.3468, allocations: 35.92 kB / 1.285 GB, free: 15.98 MB / 0.9981 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.0001875/0.347, allocations: 115.7 kB / 1.285 GB, free: 15.86 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0005569/0.3475, allocations: 155.9 kB / 1.285 GB, free: 15.71 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.3475, allocations: 4 kB / 1.285 GB, free: 15.7 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002664/0.3478, allocations: 95.36 kB / 1.285 GB, free: 15.61 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004126/0.3482, allocations: 32.58 kB / 1.285 GB, free: 15.58 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008834/0.3491, allocations: 429.8 kB / 1.285 GB, free: 15.14 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000372/0.3495, allocations: 0.7236 MB / 1.286 GB, free: 14.39 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001462/0.3496, allocations: 40.61 kB / 1.286 GB, free: 14.35 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.194e-05/0.3497, allocations: 23.42 kB / 1.286 GB, free: 14.32 MB / 0.9981 GB Notification: Performance of SimCode: time 3.21e-07/0.3497, allocations: 7.938 kB / 1.286 GB, free: 14.32 MB / 0.9981 GB Notification: Performance of Templates: time 0.005272/0.355, allocations: 1.751 MB / 1.288 GB, free: 12.58 MB / 0.9981 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; mkfifo Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe >> ../files/Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.sim & ./Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.38726116484031]