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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001498/0.001498, allocations: 112.9 kB / 16.42 MB, free: 6.449 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.001726/0.001726, allocations: 189.6 kB / 17.35 MB, free: 5.738 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.31/1.31, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.156/2.156, allocations: 390.3 MB / 0.6655 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001354/0.001354, allocations: 63.91 kB / 0.9515 GB, free: 7.648 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7007/0.7021, allocations: 140.4 MB / 1.089 GB, free: 5.523 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss): time 0.002665/0.7048, allocations: 1.898 MB / 1.09 GB, free: 4.199 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.003187/0.708, allocations: 3.46 MB / 1.094 GB, free: 1.676 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001076/0.7081, allocations: 0.9375 kB / 1.094 GB, free: 1.676 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0002415/0.7084, allocations: 50.86 kB / 1.094 GB, free: 1.648 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0004196/0.7088, allocations: 128.7 kB / 1.094 GB, free: 1.582 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 8.005e-05/0.7089, allocations: 23.94 kB / 1.094 GB, free: 1.57 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002062/0.7091, allocations: 169.2 kB / 1.094 GB, free: 1.492 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 9.832e-05/0.7092, allocations: 27.66 kB / 1.094 GB, free: 1.48 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001641/0.7094, allocations: 90.38 kB / 1.094 GB, free: 1.438 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001458/0.7096, allocations: 82.28 kB / 1.094 GB, free: 1.398 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.084e-05/0.7096, allocations: 11.75 kB / 1.094 GB, free: 1.395 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 9.097e-05/0.7097, allocations: 29.02 kB / 1.094 GB, free: 1.387 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 6.228e-05/0.7098, allocations: 31.11 kB / 1.094 GB, free: 1.375 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 7.357e-05/0.7099, allocations: 79.25 kB / 1.095 GB, free: 1.324 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002042/0.7101, allocations: 162.1 kB / 1.095 GB, free: 1.258 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.7101, allocations: 0.75 kB / 1.095 GB, free: 1.258 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.222e-06/0.7101, allocations: 0 / 1.095 GB, free: 1.258 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.236e-06/0.7101, allocations: 0 / 1.095 GB, free: 1.258 MB / 0.8575 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.0007328/0.7108, allocations: 0.504 MB / 1.095 GB, free: 0.8086 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.579e-05/0.7109, allocations: 8.969 kB / 1.095 GB, free: 0.8086 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.834e-05/0.7109, allocations: 21.86 kB / 1.095 GB, free: 0.7969 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002816/0.7112, allocations: 242.3 kB / 1.095 GB, free: 0.5547 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.209e-05/0.7112, allocations: 10.31 kB / 1.095 GB, free: 0.5469 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.279e-05/0.7113, allocations: 8.484 kB / 1.095 GB, free: 0.543 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003469/0.7116, allocations: 136 kB / 1.096 GB, free: 496 kB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.855e-06/0.7116, allocations: 1.391 kB / 1.096 GB, free: 496 kB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.534e-05/0.7117, allocations: 4 kB / 1.096 GB, free: 492 kB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.904e-05/0.7117, allocations: 10.25 kB / 1.096 GB, free: 492 kB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004598/0.7122, allocations: 140.8 kB / 1.096 GB, free: 456 kB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000624/0.7128, allocations: 437.7 kB / 1.096 GB, free: 116 kB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004104/0.7132, allocations: 166.9 kB / 1.096 GB, free: 44 kB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002594/0.7135, allocations: 99.47 kB / 1.096 GB, free: 12 kB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.953e-05/0.7135, allocations: 2.953 kB / 1.096 GB, free: 12 kB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.128e-05/0.7136, allocations: 35.47 kB / 1.096 GB, free: 15.97 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=13): time 1.292e-06/0.7136, allocations: 0 / 1.096 GB, free: 15.97 MB / 0.8731 GB Notification: Performance of matching and sorting (n=13): time 0.0009123/0.7145, allocations: 284.5 kB / 1.097 GB, free: 15.87 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.659e-05/0.7145, allocations: 53.8 kB / 1.097 GB, free: 15.81 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000214/0.7147, allocations: 205.9 kB / 1.097 GB, free: 15.68 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.292e-05/0.7148, allocations: 34.86 kB / 1.097 GB, free: 15.64 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 7.038e-05/0.7149, allocations: 120.4 kB / 1.097 GB, free: 15.53 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 4.638e-05/0.7149, allocations: 48.34 kB / 1.097 GB, free: 15.49 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.967e-05/0.715, allocations: 32.19 kB / 1.097 GB, free: 15.47 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001093/0.7151, allocations: 334.2 kB / 1.098 GB, free: 15.14 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002346/0.7153, allocations: 69.39 kB / 1.098 GB, free: 15.13 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002257/0.7156, allocations: 71.66 kB / 1.098 GB, free: 15.11 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004755/0.7161, allocations: 167.4 kB / 1.098 GB, free: 15.05 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.7161, allocations: 0.6562 kB / 1.098 GB, free: 15.05 MB / 0.8731 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005689/0.7166, allocations: 208.9 kB / 1.098 GB, free: 14.98 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.464e-05/0.7167, allocations: 5.594 kB / 1.098 GB, free: 14.98 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.7167, allocations: 1.031 kB / 1.098 GB, free: 14.98 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.17e-05/0.7167, allocations: 0 / 1.098 GB, free: 14.98 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002552/0.717, allocations: 41.38 kB / 1.098 GB, free: 14.97 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.717, allocations: 2.328 kB / 1.098 GB, free: 14.97 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001631/0.7171, allocations: 24.11 kB / 1.098 GB, free: 14.96 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.558e-05/0.7172, allocations: 5.016 kB / 1.098 GB, free: 14.96 MB / 0.8731 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.0001039/0.7173, allocations: 128.5 kB / 1.098 GB, free: 14.83 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.873e-05/0.7173, allocations: 16.91 kB / 1.098 GB, free: 14.82 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.886e-05/0.7174, allocations: 29.8 kB / 1.098 GB, free: 14.8 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.7174, allocations: 0.7969 kB / 1.098 GB, free: 14.8 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.7174, allocations: 0 / 1.098 GB, free: 14.8 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001075/0.7175, allocations: 109.5 kB / 1.098 GB, free: 14.7 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.436e-05/0.7176, allocations: 5.531 kB / 1.098 GB, free: 14.69 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001943/0.7178, allocations: 16.28 kB / 1.098 GB, free: 14.69 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.182e-05/0.7178, allocations: 8.75 kB / 1.098 GB, free: 14.69 MB / 0.8731 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007027/0.7185, allocations: 292.3 kB / 1.099 GB, free: 14.54 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006057/0.7191, allocations: 384.1 kB / 1.099 GB, free: 14.28 MB / 0.8731 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002465/0.7194, allocations: 87.23 kB / 1.099 GB, free: 14.25 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0001311/0.7196, allocations: 157.1 kB / 1.099 GB, free: 14.16 MB / 0.8731 GB Notification: Performance of Backend: time 5.11e-07/0.7196, allocations: 0 / 1.099 GB, free: 14.16 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0006426/0.7202, allocations: 176.8 kB / 1.099 GB, free: 14.07 MB / 0.8731 GB Notification: Performance of SimCode: time 0.0008558/0.7211, allocations: 0.8182 MB / 1.1 GB, free: 13.35 MB / 0.8731 GB Notification: Performance of Templates: time 0.005553/0.7266, allocations: 2.301 MB / 1.102 GB, free: 13.18 MB / 0.8731 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 -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