Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.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.EN12975HeatLoss,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.EN12975HeatLoss") translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss,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.EN12975HeatLoss") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00154/0.00154, allocations: 108.7 kB / 16.41 MB, free: 6.488 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.001645/0.001645, allocations: 185.6 kB / 17.34 MB, free: 5.766 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.397/1.397, 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.272/2.272, allocations: 390.3 MB / 0.6655 GB, free: 0.6133 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001602/0.001602, allocations: 67.89 kB / 0.9515 GB, free: 7.637 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8717/0.8733, allocations: 140.4 MB / 1.089 GB, free: 5.512 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss): time 0.003164/0.8765, allocations: 1.91 MB / 1.09 GB, free: 4.176 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.003941/0.8805, allocations: 3.454 MB / 1.094 GB, free: 1.656 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001693/0.8807, allocations: 2.188 kB / 1.094 GB, free: 1.656 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.000307/0.881, allocations: 58.55 kB / 1.094 GB, free: 1.621 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0005017/0.8815, allocations: 129.1 kB / 1.094 GB, free: 1.555 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 9.456e-05/0.8816, allocations: 28.03 kB / 1.094 GB, free: 1.539 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002508/0.8819, allocations: 169.4 kB / 1.094 GB, free: 1.465 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001161/0.882, allocations: 27.92 kB / 1.094 GB, free: 1.453 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001973/0.8822, allocations: 95.2 kB / 1.094 GB, free: 1.406 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001779/0.8824, allocations: 81.53 kB / 1.094 GB, free: 1.371 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.17e-05/0.8824, allocations: 12.84 kB / 1.094 GB, free: 1.367 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001078/0.8826, allocations: 33.94 kB / 1.094 GB, free: 1.355 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 7.018e-05/0.8826, allocations: 34.77 kB / 1.094 GB, free: 1.34 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 9.016e-05/0.8827, allocations: 81.11 kB / 1.095 GB, free: 1.289 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002685/0.883, allocations: 169.4 kB / 1.095 GB, free: 1.219 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.883, allocations: 1 kB / 1.095 GB, free: 1.219 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.004e-06/0.883, allocations: 0 / 1.095 GB, free: 1.219 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.762e-06/0.883, allocations: 0 / 1.095 GB, free: 1.219 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.0008879/0.8839, allocations: 0.5081 MB / 1.095 GB, free: 0.7695 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.503e-05/0.884, allocations: 9.281 kB / 1.095 GB, free: 0.7695 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.655e-05/0.884, allocations: 21.28 kB / 1.095 GB, free: 0.7578 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003178/0.8844, allocations: 245.5 kB / 1.095 GB, free: 0.5156 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.26e-05/0.8844, allocations: 9.781 kB / 1.095 GB, free: 0.5078 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.973e-05/0.8844, allocations: 3.625 kB / 1.095 GB, free: 0.5078 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003843/0.8848, allocations: 146.6 kB / 1.096 GB, free: 456 kB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.8848, allocations: 0 / 1.096 GB, free: 456 kB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.659e-05/0.8848, allocations: 1.875 kB / 1.096 GB, free: 456 kB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.359e-05/0.8849, allocations: 13.56 kB / 1.096 GB, free: 452 kB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004717/0.8854, allocations: 145.3 kB / 1.096 GB, free: 416 kB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007387/0.8861, allocations: 457.6 kB / 1.096 GB, free: 64 kB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004714/0.8866, allocations: 172.2 kB / 1.096 GB, free: 15.99 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003087/0.8869, allocations: 102 kB / 1.096 GB, free: 15.96 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 1.983e-05/0.887, allocations: 5.422 kB / 1.096 GB, free: 15.95 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.939e-05/0.887, allocations: 36.42 kB / 1.097 GB, free: 15.91 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=13): time 1.312e-06/0.887, allocations: 0 / 1.097 GB, free: 15.91 MB / 0.8731 GB Notification: Performance of matching and sorting (n=13): time 0.0009612/0.888, allocations: 297.4 kB / 1.097 GB, free: 15.8 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.138e-05/0.888, allocations: 53.17 kB / 1.097 GB, free: 15.74 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000253/0.8883, allocations: 213.1 kB / 1.097 GB, free: 15.61 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.609e-05/0.8883, allocations: 30.23 kB / 1.097 GB, free: 15.57 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 9.189e-05/0.8884, allocations: 121.8 kB / 1.097 GB, free: 15.46 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 5.765e-05/0.8885, allocations: 48.53 kB / 1.097 GB, free: 15.43 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.593e-05/0.8885, allocations: 27.75 kB / 1.097 GB, free: 15.41 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001402/0.8887, allocations: 332.9 kB / 1.098 GB, free: 15.08 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002645/0.889, allocations: 81.34 kB / 1.098 GB, free: 15.06 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002397/0.8892, allocations: 77.84 kB / 1.098 GB, free: 15.04 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004903/0.8897, allocations: 164.8 kB / 1.098 GB, free: 14.99 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.8897, allocations: 0 / 1.098 GB, free: 14.99 MB / 0.8731 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0006073/0.8903, allocations: 218.8 kB / 1.098 GB, free: 14.91 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.118e-05/0.8904, allocations: 5.25 kB / 1.098 GB, free: 14.91 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-06/0.8904, allocations: 0 / 1.098 GB, free: 14.91 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.56e-05/0.8904, allocations: 1.844 kB / 1.098 GB, free: 14.91 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002683/0.8907, allocations: 32.78 kB / 1.098 GB, free: 14.91 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.708e-06/0.8907, allocations: 2.156 kB / 1.098 GB, free: 14.91 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000183/0.8909, allocations: 24.06 kB / 1.098 GB, free: 14.89 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.601e-05/0.8909, allocations: 4.438 kB / 1.098 GB, free: 14.89 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.0001201/0.891, allocations: 132.6 kB / 1.098 GB, free: 14.77 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.291e-05/0.8911, allocations: 17.53 kB / 1.098 GB, free: 14.76 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.461e-05/0.8912, allocations: 29.5 kB / 1.098 GB, free: 14.74 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.991e-06/0.8912, allocations: 5.562 kB / 1.098 GB, free: 14.74 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.591e-06/0.8912, allocations: 0 / 1.098 GB, free: 14.74 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/0.8912, allocations: 2.422 kB / 1.098 GB, free: 14.74 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003458/0.8915, allocations: 273.8 kB / 1.099 GB, free: 14.5 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.8915, allocations: 0 / 1.099 GB, free: 14.5 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002319/0.8918, allocations: 38.38 kB / 1.099 GB, free: 14.5 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.8918, allocations: 3.938 kB / 1.099 GB, free: 14.49 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.775e-05/0.8918, allocations: 6.938 kB / 1.099 GB, free: 14.49 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/0.8918, allocations: 1.75 kB / 1.099 GB, free: 14.49 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.71e-07/0.8918, allocations: 0 / 1.099 GB, free: 14.49 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006254/0.8925, allocations: 317 kB / 1.099 GB, free: 14.3 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001132/0.8926, allocations: 113.1 kB / 1.099 GB, free: 14.19 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.399e-05/0.8926, allocations: 1.859 kB / 1.099 GB, free: 14.19 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001881/0.8928, allocations: 11.88 kB / 1.099 GB, free: 14.19 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.872e-05/0.8929, allocations: 13.69 kB / 1.099 GB, free: 14.18 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.366e-05/0.8929, allocations: 8.422 kB / 1.099 GB, free: 14.18 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0001598/0.8931, allocations: 159.4 kB / 1.099 GB, free: 14.08 MB / 0.8731 GB Notification: Performance of sort global known variables: time 2e-07/0.8931, allocations: 0 / 1.099 GB, free: 14.08 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003077/0.8934, allocations: 39.92 kB / 1.099 GB, free: 14.07 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.0001855/0.8936, allocations: 105.9 kB / 1.099 GB, free: 13.98 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0005704/0.8942, allocations: 178.7 kB / 1.1 GB, free: 13.94 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.8942, allocations: 0 / 1.1 GB, free: 13.94 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0002712/0.8945, allocations: 102.3 kB / 1.1 GB, free: 13.91 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004348/0.8949, allocations: 33.59 kB / 1.1 GB, free: 13.89 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009034/0.8958, allocations: 454.1 kB / 1.1 GB, free: 13.62 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003624/0.8962, allocations: 0.729 MB / 1.101 GB, free: 12.92 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.78e-05/0.8963, allocations: 24.39 kB / 1.101 GB, free: 12.91 MB / 0.8731 GB Notification: Performance of SimCode: time 5.61e-07/0.8963, allocations: 0 / 1.101 GB, free: 12.91 MB / 0.8731 GB Notification: Performance of Templates: time 0.005741/0.902, allocations: 2.324 MB / 1.103 GB, free: 12.71 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.makefile (rm -f Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; mkfifo Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe >> ../files/Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.sim & ./Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches