Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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=5000,variableFilter="time|heaLos.QLos.1.|heaLos.QLos.2.|heaLos.QLos.3.|TEnv.y|T1.y|T2.y|T3.y",fileNamePrefix="Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss") translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaLos.QLos.1.|heaLos.QLos.2.|heaLos.QLos.3.|TEnv.y|T1.y|T2.y|T3.y",fileNamePrefix="Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001227/0.001227, allocations: 112.6 kB / 16.37 MB, free: 6 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001166/0.001166, allocations: 196 kB / 17.31 MB, free: 5.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.368/1.368, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.224/2.224, allocations: 390.3 MB / 0.6655 GB, free: 0.5742 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001483/0.001484, allocations: 61.36 kB / 0.814 GB, free: 32.7 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2918/0.2933, allocations: 140.4 MB / 0.9511 GB, free: 8.035 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss): time 0.003448/0.2968, allocations: 1.898 MB / 0.953 GB, free: 6.129 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.004154/0.301, allocations: 3.459 MB / 0.9564 GB, free: 2.648 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001209/0.3011, allocations: 3.938 kB / 0.9564 GB, free: 2.645 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0003031/0.3015, allocations: 55.67 kB / 0.9564 GB, free: 2.59 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0004792/0.302, allocations: 123.3 kB / 0.9565 GB, free: 2.469 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 9.104e-05/0.3021, allocations: 27.91 kB / 0.9566 GB, free: 2.441 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0002374/0.3023, allocations: 171.2 kB / 0.9567 GB, free: 2.273 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001076/0.3024, allocations: 21.69 kB / 0.9567 GB, free: 2.25 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001696/0.3026, allocations: 87.62 kB / 0.9568 GB, free: 2.164 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001576/0.3028, allocations: 79.62 kB / 0.9569 GB, free: 2.086 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.624e-05/0.3028, allocations: 8 kB / 0.9569 GB, free: 2.078 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 8.666e-05/0.3029, allocations: 27.92 kB / 0.9569 GB, free: 2.051 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 7.133e-05/0.303, allocations: 39.83 kB / 0.957 GB, free: 2.012 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 8.225e-05/0.3031, allocations: 79.53 kB / 0.9571 GB, free: 1.934 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002271/0.3033, allocations: 167.3 kB / 0.9572 GB, free: 1.77 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 7.133e-06/0.3033, allocations: 3.938 kB / 0.9572 GB, free: 1.766 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.733e-06/0.3033, allocations: 3.938 kB / 0.9572 GB, free: 1.762 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.051e-06/0.3033, allocations: 0 / 0.9572 GB, free: 1.762 MB / 0.7325 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.0008977/0.3042, allocations: 0.4945 MB / 0.9577 GB, free: 1.219 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.047e-05/0.3043, allocations: 8.031 kB / 0.9577 GB, free: 1.211 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.845e-05/0.3044, allocations: 24.66 kB / 0.9577 GB, free: 1.188 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000363/0.3047, allocations: 234.9 kB / 0.958 GB, free: 0.918 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.345e-05/0.3048, allocations: 4.375 kB / 0.958 GB, free: 0.9141 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.002e-05/0.3048, allocations: 12.38 kB / 0.958 GB, free: 0.9023 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003309/0.3051, allocations: 145.6 kB / 0.9581 GB, free: 0.7539 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.195e-06/0.3051, allocations: 0 / 0.9581 GB, free: 0.7539 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.64e-05/0.3052, allocations: 8 kB / 0.9581 GB, free: 0.7461 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.69e-05/0.3052, allocations: 11.89 kB / 0.9581 GB, free: 0.7344 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003918/0.3056, allocations: 139.9 kB / 0.9583 GB, free: 0.5977 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000668/0.3063, allocations: 432.6 kB / 0.9587 GB, free: 128 kB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000383/0.3067, allocations: 166.4 kB / 0.9588 GB, free: 15.95 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002372/0.3069, allocations: 108.8 kB / 0.9589 GB, free: 15.84 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 2.112e-05/0.307, allocations: 256 / 0.9589 GB, free: 15.84 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.727e-05/0.307, allocations: 34.56 kB / 0.959 GB, free: 15.8 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=13): time 1.022e-06/0.307, allocations: 0 / 0.959 GB, free: 15.8 MB / 0.7481 GB Notification: Performance of matching and sorting (n=13): time 0.0007763/0.3078, allocations: 277.5 kB / 0.9592 GB, free: 15.52 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.255e-05/0.3079, allocations: 55.41 kB / 0.9593 GB, free: 15.46 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000221/0.3081, allocations: 209 kB / 0.9595 GB, free: 15.24 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 2.794e-05/0.3081, allocations: 37.7 kB / 0.9595 GB, free: 15.2 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 9.395e-05/0.3082, allocations: 116 kB / 0.9596 GB, free: 15.08 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 4.912e-05/0.3083, allocations: 43.39 kB / 0.9597 GB, free: 15.04 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.179e-05/0.3083, allocations: 29.7 kB / 0.9597 GB, free: 15 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001697/0.3085, allocations: 334.8 kB / 0.96 GB, free: 14.67 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000221/0.3087, allocations: 71.94 kB / 0.9601 GB, free: 14.6 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002066/0.309, allocations: 71.94 kB / 0.9602 GB, free: 14.53 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004215/0.3094, allocations: 164.5 kB / 0.9603 GB, free: 14.37 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.3094, allocations: 0 / 0.9603 GB, free: 14.37 MB / 0.7481 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004832/0.3099, allocations: 201.3 kB / 0.9605 GB, free: 14.16 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.893e-05/0.3099, allocations: 8 kB / 0.9605 GB, free: 14.16 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/0.3099, allocations: 0 / 0.9605 GB, free: 14.16 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.714e-05/0.31, allocations: 3.938 kB / 0.9605 GB, free: 14.15 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002358/0.3102, allocations: 35.95 kB / 0.9606 GB, free: 14.12 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.014e-06/0.3102, allocations: 4 kB / 0.9606 GB, free: 14.11 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001378/0.3104, allocations: 15.98 kB / 0.9606 GB, free: 14.1 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.953e-05/0.3104, allocations: 4 kB / 0.9606 GB, free: 14.09 MB / 0.7481 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.0001246/0.3105, allocations: 133.7 kB / 0.9607 GB, free: 13.95 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.422e-05/0.3106, allocations: 19.72 kB / 0.9607 GB, free: 13.93 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.132e-05/0.3106, allocations: 33.77 kB / 0.9608 GB, free: 13.9 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.3106, allocations: 0 / 0.9608 GB, free: 13.9 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.184e-06/0.3107, allocations: 0 / 0.9608 GB, free: 13.9 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.3107, allocations: 4 kB / 0.9608 GB, free: 13.9 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002947/0.311, allocations: 265.4 kB / 0.961 GB, free: 13.59 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.311, allocations: 0 / 0.961 GB, free: 13.59 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001948/0.3112, allocations: 39.91 kB / 0.9611 GB, free: 13.55 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.3112, allocations: 0 / 0.9611 GB, free: 13.55 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.526e-05/0.3112, allocations: 0 / 0.9611 GB, free: 13.55 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/0.3112, allocations: 0 / 0.9611 GB, free: 13.55 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.712e-06/0.3112, allocations: 11.98 kB / 0.9611 GB, free: 13.54 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005418/0.3118, allocations: 315.1 kB / 0.9614 GB, free: 13.21 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 9.723e-05/0.3119, allocations: 100.9 kB / 0.9615 GB, free: 13.1 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.791e-05/0.3119, allocations: 0 / 0.9615 GB, free: 13.1 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001712/0.3121, allocations: 19.97 kB / 0.9615 GB, free: 13.08 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.642e-05/0.3122, allocations: 15.92 kB / 0.9615 GB, free: 13.06 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.544e-05/0.3122, allocations: 8 kB / 0.9615 GB, free: 13.05 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0001387/0.3123, allocations: 152.5 kB / 0.9617 GB, free: 12.91 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3123, allocations: 0 / 0.9617 GB, free: 12.91 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0002642/0.3126, allocations: 39.94 kB / 0.9617 GB, free: 12.87 MB / 0.7481 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.000212/0.3128, allocations: 107.2 kB / 0.9618 GB, free: 12.75 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0005022/0.3133, allocations: 171.8 kB / 0.962 GB, free: 12.59 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 4.017e-06/0.3133, allocations: 4 kB / 0.962 GB, free: 12.58 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0002271/0.3136, allocations: 87.94 kB / 0.962 GB, free: 12.5 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004048/0.314, allocations: 33.23 kB / 0.9621 GB, free: 12.46 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008186/0.3148, allocations: 416 kB / 0.9625 GB, free: 12.04 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003164/0.3151, allocations: 0.7275 MB / 0.9632 GB, free: 11.29 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0001433/0.3153, allocations: 52.56 kB / 0.9632 GB, free: 11.23 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.421e-05/0.3154, allocations: 19.44 kB / 0.9633 GB, free: 11.22 MB / 0.7481 GB Notification: Performance of SimCode: time 3.51e-07/0.3154, allocations: 0 / 0.9633 GB, free: 11.22 MB / 0.7481 GB Notification: Performance of Templates: time 0.004662/0.32, allocations: 1.699 MB / 0.9649 GB, free: 9.535 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.makefile (rm -f Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; mkfifo Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe >> ../files/Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.sim & ./Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches