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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.00176/0.00176, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002352/0.002352, allocations: 196.8 kB / 16.14 MB, free: 6.711 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.564/1.564, allocations: 222.9 MB / 239.8 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.907/2.907, allocations: 437 MB / 0.7099 GB, free: 5.328 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002228/0.002229, allocations: 59.91 kB / 0.8686 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8021/0.8043, allocations: 151.6 MB / 1.017 GB, free: 2.777 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss): time 0.003633/0.808, allocations: 1.979 MB / 1.019 GB, free: 0.7852 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.004463/0.8125, allocations: 3.415 MB / 1.022 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001105/0.8127, allocations: 0 / 1.022 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0003064/0.813, allocations: 43.8 kB / 1.022 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.000482/0.8135, allocations: 119.3 kB / 1.022 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 8.967e-05/0.8136, allocations: 31.91 kB / 1.022 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002416/0.8139, allocations: 175.2 kB / 1.022 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001204/0.814, allocations: 33.66 kB / 1.022 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001827/0.8142, allocations: 67.66 kB / 1.022 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001693/0.8144, allocations: 79.67 kB / 1.022 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.748e-05/0.8144, allocations: 4 kB / 1.022 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 9.494e-05/0.8145, allocations: 23.92 kB / 1.022 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 7.495e-05/0.8146, allocations: 35.84 kB / 1.022 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 9.812e-05/0.8147, allocations: 79.52 kB / 1.023 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002249/0.8149, allocations: 151.3 kB / 1.023 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.8149, allocations: 0 / 1.023 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.433e-06/0.8149, allocations: 0 / 1.023 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.55e-06/0.8149, allocations: 4 kB / 1.023 GB, free: 12.52 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.0009579/0.8159, allocations: 0.5023 MB / 1.023 GB, free: 11.97 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.255e-05/0.816, allocations: 12.03 kB / 1.023 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.668e-05/0.816, allocations: 20.66 kB / 1.023 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003853/0.8164, allocations: 235 kB / 1.023 GB, free: 11.67 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.376e-05/0.8164, allocations: 4.375 kB / 1.023 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.277e-05/0.8165, allocations: 8.359 kB / 1.023 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003923/0.8169, allocations: 145.6 kB / 1.024 GB, free: 11.51 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/0.8169, allocations: 0 / 1.024 GB, free: 11.51 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.801e-05/0.8169, allocations: 0 / 1.024 GB, free: 11.51 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.28e-05/0.817, allocations: 19.98 kB / 1.024 GB, free: 11.49 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004541/0.8174, allocations: 127.9 kB / 1.024 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007752/0.8182, allocations: 444.5 kB / 1.024 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004277/0.8186, allocations: 166.3 kB / 1.024 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002625/0.8189, allocations: 108.7 kB / 1.024 GB, free: 10.6 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.091e-05/0.8189, allocations: 4 kB / 1.024 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.826e-05/0.819, allocations: 34.56 kB / 1.024 GB, free: 10.55 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=13): time 1.513e-06/0.819, allocations: 0 / 1.024 GB, free: 10.55 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13): time 0.000875/0.8199, allocations: 277.7 kB / 1.025 GB, free: 10.27 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.221e-05/0.8199, allocations: 59.34 kB / 1.025 GB, free: 10.2 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000219/0.8201, allocations: 209 kB / 1.025 GB, free: 9.988 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.324e-05/0.8202, allocations: 25.7 kB / 1.025 GB, free: 9.957 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 9.547e-05/0.8203, allocations: 124 kB / 1.025 GB, free: 9.832 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 5.1e-05/0.8203, allocations: 39.45 kB / 1.025 GB, free: 9.793 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.371e-05/0.8204, allocations: 41.61 kB / 1.025 GB, free: 9.746 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001543/0.8206, allocations: 334.8 kB / 1.026 GB, free: 9.41 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002326/0.8208, allocations: 63.94 kB / 1.026 GB, free: 9.348 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002163/0.821, allocations: 71.94 kB / 1.026 GB, free: 9.277 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004465/0.8215, allocations: 156.7 kB / 1.026 GB, free: 9.121 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.8215, allocations: 0 / 1.026 GB, free: 9.121 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005294/0.822, allocations: 216.8 kB / 1.026 GB, free: 8.906 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.874e-05/0.8221, allocations: 5.875 kB / 1.026 GB, free: 8.902 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.8221, allocations: 0 / 1.026 GB, free: 8.902 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.476e-05/0.8221, allocations: 0 / 1.026 GB, free: 8.902 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002589/0.8224, allocations: 35.95 kB / 1.026 GB, free: 8.867 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.997e-06/0.8224, allocations: 4 kB / 1.026 GB, free: 8.863 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001532/0.8225, allocations: 19.92 kB / 1.026 GB, free: 8.844 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.341e-05/0.8226, allocations: 0 / 1.026 GB, free: 8.844 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.0001315/0.8227, allocations: 137.8 kB / 1.026 GB, free: 8.699 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.302e-05/0.8228, allocations: 19.72 kB / 1.026 GB, free: 8.68 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.115e-05/0.8228, allocations: 25.83 kB / 1.026 GB, free: 8.66 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.15e-06/0.8228, allocations: 0 / 1.026 GB, free: 8.66 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.611e-06/0.8228, allocations: 3.938 kB / 1.026 GB, free: 8.656 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.8228, allocations: 4 kB / 1.026 GB, free: 8.652 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003206/0.8232, allocations: 257.5 kB / 1.027 GB, free: 8.352 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.8232, allocations: 0 / 1.027 GB, free: 8.352 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002354/0.8234, allocations: 39.95 kB / 1.027 GB, free: 8.312 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.784e-06/0.8234, allocations: 0 / 1.027 GB, free: 8.312 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.459e-05/0.8235, allocations: 11.98 kB / 1.027 GB, free: 8.301 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.8235, allocations: 3.938 kB / 1.027 GB, free: 8.297 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.8235, allocations: 0 / 1.027 GB, free: 8.297 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005945/0.8241, allocations: 315 kB / 1.027 GB, free: 7.973 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001045/0.8242, allocations: 112.8 kB / 1.027 GB, free: 7.844 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.181e-05/0.8242, allocations: 4 kB / 1.027 GB, free: 7.84 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001815/0.8244, allocations: 19.97 kB / 1.027 GB, free: 7.82 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.274e-05/0.8245, allocations: 7.984 kB / 1.027 GB, free: 7.812 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.281e-05/0.8245, allocations: 7.938 kB / 1.027 GB, free: 7.805 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.000141/0.8246, allocations: 152.5 kB / 1.027 GB, free: 7.656 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8247, allocations: 4 kB / 1.027 GB, free: 7.652 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002729/0.8249, allocations: 39.94 kB / 1.027 GB, free: 7.613 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.000182/0.8251, allocations: 103.8 kB / 1.027 GB, free: 7.5 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0005149/0.8256, allocations: 171.8 kB / 1.027 GB, free: 7.332 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.8257, allocations: 4 kB / 1.027 GB, free: 7.328 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002399/0.8259, allocations: 83.88 kB / 1.028 GB, free: 7.246 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004517/0.8264, allocations: 28.64 kB / 1.028 GB, free: 7.215 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008425/0.8272, allocations: 463.7 kB / 1.028 GB, free: 6.738 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003655/0.8276, allocations: 0.7277 MB / 1.029 GB, free: 5.984 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001747/0.8278, allocations: 48.59 kB / 1.029 GB, free: 5.938 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.995e-05/0.8278, allocations: 23.36 kB / 1.029 GB, free: 5.918 MB / 0.7794 GB Notification: Performance of SimCode: time 2.41e-07/0.8278, allocations: 0 / 1.029 GB, free: 5.918 MB / 0.7794 GB Notification: Performance of Templates: time 0.004907/0.8328, allocations: 1.547 MB / 1.03 GB, free: 4.387 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=400 -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/jenkins/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