Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_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_10_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.001124/0.001124, allocations: 92.16 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001809/0.001809, allocations: 174.6 kB / 16.92 MB, free: 6.652 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.407/1.407, allocations: 223.3 MB / 241 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.739/2.739, allocations: 437.8 MB / 0.7128 GB, free: 6.906 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004632/0.0004634, allocations: 12 kB / 0.8735 GB, free: 3.281 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7102/0.7107, allocations: 153.8 MB / 1.024 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss): time 0.002371/0.7131, allocations: 1.621 MB / 1.025 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.004214/0.7174, allocations: 3.368 MB / 1.029 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001354/0.7175, allocations: 4 kB / 1.029 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0002643/0.7178, allocations: 39.81 kB / 1.029 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0004814/0.7183, allocations: 127.2 kB / 1.029 GB, free: 10.67 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 8.292e-05/0.7184, allocations: 23.98 kB / 1.029 GB, free: 10.65 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002571/0.7187, allocations: 187.1 kB / 1.029 GB, free: 10.46 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001105/0.7188, allocations: 25.67 kB / 1.029 GB, free: 10.44 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002014/0.719, allocations: 67.7 kB / 1.029 GB, free: 10.37 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00017/0.7192, allocations: 75.62 kB / 1.029 GB, free: 10.3 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.813e-05/0.7192, allocations: 8 kB / 1.029 GB, free: 10.29 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 9.096e-05/0.7193, allocations: 23.92 kB / 1.029 GB, free: 10.27 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 6.766e-05/0.7194, allocations: 35.83 kB / 1.029 GB, free: 10.23 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001023/0.7195, allocations: 97.25 kB / 1.029 GB, free: 10.13 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001718/0.7197, allocations: 99.75 kB / 1.029 GB, free: 10.03 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.7197, allocations: 7.938 kB / 1.029 GB, free: 10.02 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.844e-06/0.7197, allocations: 0 / 1.029 GB, free: 10.02 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.081e-06/0.7197, allocations: 0 / 1.029 GB, free: 10.02 MB / 0.7794 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.0008612/0.7206, allocations: 498.6 kB / 1.03 GB, free: 9.488 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.089e-05/0.7206, allocations: 8.031 kB / 1.03 GB, free: 9.48 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.743e-05/0.7207, allocations: 20.66 kB / 1.03 GB, free: 9.461 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003488/0.721, allocations: 238.9 kB / 1.03 GB, free: 9.188 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.323e-05/0.7211, allocations: 12.36 kB / 1.03 GB, free: 9.176 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.388e-05/0.7211, allocations: 8.375 kB / 1.03 GB, free: 9.168 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003751/0.7215, allocations: 151.4 kB / 1.03 GB, free: 9.016 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.386e-06/0.7215, allocations: 0 / 1.03 GB, free: 9.016 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.822e-05/0.7215, allocations: 4 kB / 1.03 GB, free: 9.012 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.225e-05/0.7216, allocations: 15.98 kB / 1.03 GB, free: 8.996 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004563/0.722, allocations: 147.9 kB / 1.03 GB, free: 8.852 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007013/0.7227, allocations: 448.5 kB / 1.031 GB, free: 8.363 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004209/0.7232, allocations: 174.4 kB / 1.031 GB, free: 8.184 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002683/0.7234, allocations: 120.8 kB / 1.031 GB, free: 8.062 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.009e-05/0.7235, allocations: 0 / 1.031 GB, free: 8.062 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.354e-05/0.7235, allocations: 30.56 kB / 1.031 GB, free: 8.023 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=13): time 9.92e-07/0.7235, allocations: 0 / 1.031 GB, free: 8.023 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13): time 0.0008735/0.7244, allocations: 308.4 kB / 1.031 GB, free: 7.719 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.239e-05/0.7244, allocations: 63.33 kB / 1.031 GB, free: 7.645 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002042/0.7247, allocations: 205 kB / 1.032 GB, free: 7.434 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.187e-05/0.7247, allocations: 29.7 kB / 1.032 GB, free: 7.398 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 8.193e-05/0.7248, allocations: 120 kB / 1.032 GB, free: 7.277 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.431e-05/0.7248, allocations: 39.44 kB / 1.032 GB, free: 7.238 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.5e-05/0.7249, allocations: 17.72 kB / 1.032 GB, free: 7.215 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001122/0.725, allocations: 338.8 kB / 1.032 GB, free: 6.875 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00024/0.7252, allocations: 79.94 kB / 1.032 GB, free: 6.797 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002216/0.7255, allocations: 79.94 kB / 1.032 GB, free: 6.719 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004558/0.7259, allocations: 172.7 kB / 1.033 GB, free: 6.547 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.7259, allocations: 3.938 kB / 1.033 GB, free: 6.543 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005368/0.7265, allocations: 229.2 kB / 1.033 GB, free: 6.316 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.015e-05/0.7265, allocations: 4 kB / 1.033 GB, free: 6.312 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.123e-06/0.7265, allocations: 3.938 kB / 1.033 GB, free: 6.309 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.281e-05/0.7265, allocations: 3.938 kB / 1.033 GB, free: 6.305 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002491/0.7268, allocations: 47.95 kB / 1.033 GB, free: 6.258 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/0.7268, allocations: 0 / 1.033 GB, free: 6.258 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001566/0.727, allocations: 19.92 kB / 1.033 GB, free: 6.238 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.663e-05/0.727, allocations: 4 kB / 1.033 GB, free: 6.234 MB / 0.7794 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.0001235/0.7271, allocations: 130.3 kB / 1.033 GB, free: 6.098 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.385e-05/0.7272, allocations: 23.72 kB / 1.033 GB, free: 6.074 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.159e-05/0.7272, allocations: 37.83 kB / 1.033 GB, free: 6.043 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.716e-06/0.7272, allocations: 0 / 1.033 GB, free: 6.043 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.7272, allocations: 0 / 1.033 GB, free: 6.043 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.7273, allocations: 0 / 1.033 GB, free: 6.043 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002876/0.7275, allocations: 257.5 kB / 1.033 GB, free: 5.742 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.7276, allocations: 3.938 kB / 1.033 GB, free: 5.738 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002067/0.7278, allocations: 35.97 kB / 1.033 GB, free: 5.703 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.7278, allocations: 0 / 1.033 GB, free: 5.703 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.365e-05/0.7278, allocations: 0 / 1.033 GB, free: 5.703 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.426e-06/0.7278, allocations: 7.984 kB / 1.033 GB, free: 5.695 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.7278, allocations: 0 / 1.033 GB, free: 5.695 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005908/0.7284, allocations: 327.1 kB / 1.034 GB, free: 5.359 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001006/0.7285, allocations: 108.8 kB / 1.034 GB, free: 5.234 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.403e-05/0.7286, allocations: 4 kB / 1.034 GB, free: 5.23 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001857/0.7288, allocations: 23.91 kB / 1.034 GB, free: 5.207 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.349e-05/0.7288, allocations: 11.98 kB / 1.034 GB, free: 5.195 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.447e-05/0.7288, allocations: 8 kB / 1.034 GB, free: 5.188 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001296/0.729, allocations: 156.5 kB / 1.034 GB, free: 5.035 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.729, allocations: 0 / 1.034 GB, free: 5.035 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002797/0.7293, allocations: 39.94 kB / 1.034 GB, free: 4.996 MB / 0.7794 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.0001818/0.7294, allocations: 103.2 kB / 1.034 GB, free: 4.883 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0005426/0.73, allocations: 183.8 kB / 1.034 GB, free: 4.703 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.73, allocations: 4 kB / 1.034 GB, free: 4.699 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002501/0.7303, allocations: 99.94 kB / 1.034 GB, free: 4.602 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004013/0.7307, allocations: 24.66 kB / 1.034 GB, free: 4.574 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008165/0.7315, allocations: 0.5244 MB / 1.035 GB, free: 4.02 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002881/0.7318, allocations: 0.7277 MB / 1.036 GB, free: 3.266 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.457e-05/0.7319, allocations: 27.42 kB / 1.036 GB, free: 3.242 MB / 0.7794 GB Notification: Performance of SimCode: time 2.61e-07/0.7319, allocations: 0 / 1.036 GB, free: 3.242 MB / 0.7794 GB Notification: Performance of Templates: time 0.004452/0.7364, allocations: 2.199 MB / 1.038 GB, free: 1.059 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.makefile (rm -f Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; mkfifo Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe >> ../files/Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.sim & ./Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches