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.001477/0.001477, allocations: 106.4 kB / 16.41 MB, free: 6.512 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.001515/0.001514, allocations: 189.7 kB / 17.34 MB, free: 5.742 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.414/1.414, allocations: 222.9 MB / 241 MB, free: 15.15 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.413/2.413, allocations: 390.2 MB / 0.6655 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001487/0.001487, allocations: 59.91 kB / 0.9515 GB, free: 7.66 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9031/0.9046, allocations: 140.4 MB / 1.089 GB, free: 5.781 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss): time 0.003102/0.9077, allocations: 1.896 MB / 1.09 GB, free: 4.457 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.003847/0.9116, allocations: 3.458 MB / 1.094 GB, free: 1.93 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000146/0.9118, allocations: 1.219 kB / 1.094 GB, free: 1.93 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0003001/0.9122, allocations: 50.73 kB / 1.094 GB, free: 1.902 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0005423/0.9127, allocations: 140.3 kB / 1.094 GB, free: 1.824 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 9.578e-05/0.9128, allocations: 20.22 kB / 1.094 GB, free: 1.816 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002583/0.9131, allocations: 169.7 kB / 1.094 GB, free: 1.738 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001169/0.9132, allocations: 31.12 kB / 1.094 GB, free: 1.723 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001997/0.9134, allocations: 86.3 kB / 1.094 GB, free: 1.684 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001682/0.9136, allocations: 70.09 kB / 1.094 GB, free: 1.656 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.486e-05/0.9136, allocations: 8.875 kB / 1.094 GB, free: 1.656 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001014/0.9137, allocations: 40.12 kB / 1.094 GB, free: 1.637 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 7.578e-05/0.9138, allocations: 34.86 kB / 1.094 GB, free: 1.621 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 8.933e-05/0.9139, allocations: 75.44 kB / 1.095 GB, free: 1.574 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002763/0.9142, allocations: 164.4 kB / 1.095 GB, free: 1.504 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.9142, allocations: 0.7969 kB / 1.095 GB, free: 1.504 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.754e-06/0.9142, allocations: 0.7812 kB / 1.095 GB, free: 1.504 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.402e-06/0.9142, allocations: 0 / 1.095 GB, free: 1.504 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.0008402/0.9151, allocations: 0.503 MB / 1.095 GB, free: 1.055 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.158e-05/0.9151, allocations: 10.31 kB / 1.095 GB, free: 1.055 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.581e-05/0.9152, allocations: 20.97 kB / 1.095 GB, free: 1.043 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003204/0.9155, allocations: 243 kB / 1.095 GB, free: 0.8008 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.107e-05/0.9155, allocations: 6.344 kB / 1.095 GB, free: 0.7969 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.419e-05/0.9156, allocations: 3.438 kB / 1.095 GB, free: 0.7969 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003638/0.9159, allocations: 140.9 kB / 1.096 GB, free: 0.7344 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.316e-06/0.916, allocations: 4.969 kB / 1.096 GB, free: 0.7305 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.515e-05/0.916, allocations: 0 / 1.096 GB, free: 0.7305 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.351e-05/0.916, allocations: 10.19 kB / 1.096 GB, free: 0.7305 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004592/0.9165, allocations: 133.4 kB / 1.096 GB, free: 0.7031 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000697/0.9172, allocations: 450 kB / 1.096 GB, free: 368 kB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004408/0.9176, allocations: 158 kB / 1.096 GB, free: 304 kB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002705/0.9179, allocations: 107.8 kB / 1.096 GB, free: 264 kB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.81e-05/0.918, allocations: 1.656 kB / 1.096 GB, free: 264 kB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.692e-05/0.918, allocations: 32.73 kB / 1.096 GB, free: 224 kB / 0.8575 GB Notification: Performance of pre-optimization done (n=13): time 1.112e-06/0.918, allocations: 0 / 1.096 GB, free: 224 kB / 0.8575 GB Notification: Performance of matching and sorting (n=13): time 0.0009178/0.9189, allocations: 285.5 kB / 1.097 GB, free: 120 kB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.739e-05/0.9189, allocations: 61.28 kB / 1.097 GB, free: 48 kB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002612/0.9192, allocations: 206.4 kB / 1.097 GB, free: 15.92 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.756e-05/0.9193, allocations: 31.61 kB / 1.097 GB, free: 15.88 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 9.572e-05/0.9194, allocations: 119.7 kB / 1.097 GB, free: 15.77 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 5.445e-05/0.9194, allocations: 44.59 kB / 1.097 GB, free: 15.74 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.929e-05/0.9195, allocations: 30.83 kB / 1.097 GB, free: 15.71 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001998/0.9197, allocations: 333.9 kB / 1.098 GB, free: 15.39 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002537/0.92, allocations: 70.73 kB / 1.098 GB, free: 15.38 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002393/0.9202, allocations: 71.08 kB / 1.098 GB, free: 15.36 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004918/0.9207, allocations: 163.9 kB / 1.098 GB, free: 15.31 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.9207, allocations: 3.938 kB / 1.098 GB, free: 15.3 MB / 0.8731 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005873/0.9213, allocations: 209.4 kB / 1.098 GB, free: 15.22 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.163e-05/0.9213, allocations: 6.203 kB / 1.098 GB, free: 15.22 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.9214, allocations: 0.8438 kB / 1.098 GB, free: 15.22 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.799e-05/0.9214, allocations: 0.7812 kB / 1.098 GB, free: 15.22 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002576/0.9216, allocations: 33.11 kB / 1.098 GB, free: 15.22 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.194e-06/0.9217, allocations: 0.5312 kB / 1.098 GB, free: 15.22 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001723/0.9218, allocations: 21.8 kB / 1.098 GB, free: 15.21 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.858e-05/0.9219, allocations: 3.75 kB / 1.098 GB, free: 15.21 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.0001332/0.922, allocations: 140.9 kB / 1.098 GB, free: 15.08 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.065e-05/0.9221, allocations: 17.59 kB / 1.098 GB, free: 15.07 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.047e-05/0.9221, allocations: 24.94 kB / 1.098 GB, free: 15.05 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.16e-06/0.9221, allocations: 2.188 kB / 1.098 GB, free: 15.05 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.093e-06/0.9222, allocations: 0 / 1.098 GB, free: 15.05 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.9222, allocations: 1.312 kB / 1.098 GB, free: 15.05 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003542/0.9225, allocations: 258.1 kB / 1.098 GB, free: 14.83 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.9225, allocations: 0 / 1.098 GB, free: 14.83 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000217/0.9228, allocations: 41.97 kB / 1.099 GB, free: 14.82 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.9228, allocations: 0 / 1.099 GB, free: 14.82 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.738e-05/0.9228, allocations: 3.938 kB / 1.099 GB, free: 14.82 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.9228, allocations: 0 / 1.099 GB, free: 14.82 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.9228, allocations: 0.9375 kB / 1.099 GB, free: 14.82 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006297/0.9234, allocations: 315.5 kB / 1.099 GB, free: 14.63 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001199/0.9236, allocations: 109.2 kB / 1.099 GB, free: 14.52 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.448e-05/0.9236, allocations: 6.172 kB / 1.099 GB, free: 14.52 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001722/0.9238, allocations: 11.25 kB / 1.099 GB, free: 14.52 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.9e-05/0.9239, allocations: 14.06 kB / 1.099 GB, free: 14.51 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.528e-05/0.9239, allocations: 4.562 kB / 1.099 GB, free: 14.51 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0001571/0.9241, allocations: 156.6 kB / 1.099 GB, free: 14.41 MB / 0.8731 GB Notification: Performance of sort global known variables: time 2.4e-07/0.9241, allocations: 1.062 kB / 1.099 GB, free: 14.41 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003376/0.9244, allocations: 41.53 kB / 1.099 GB, free: 14.4 MB / 0.8731 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.0001955/0.9246, allocations: 104.9 kB / 1.099 GB, free: 14.31 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0005738/0.9252, allocations: 175 kB / 1.099 GB, free: 14.27 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.9252, allocations: 0 / 1.099 GB, free: 14.27 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0002621/0.9255, allocations: 92.97 kB / 1.1 GB, free: 14.25 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004257/0.9259, allocations: 28.81 kB / 1.1 GB, free: 14.23 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009393/0.9268, allocations: 450.1 kB / 1.1 GB, free: 13.95 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005208/0.9274, allocations: 0.7247 MB / 1.101 GB, free: 13.25 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.543e-05/0.9275, allocations: 24 kB / 1.101 GB, free: 13.25 MB / 0.8731 GB Notification: Performance of SimCode: time 4.71e-07/0.9275, allocations: 4 kB / 1.101 GB, free: 13.24 MB / 0.8731 GB Notification: Performance of Templates: time 0.005496/0.933, allocations: 2.232 MB / 1.103 GB, free: 13.05 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