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.001427/0.001427, allocations: 110.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.00149/0.00149, allocations: 187 kB / 17.34 MB, free: 5.762 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.368/1.368, allocations: 222.9 MB / 241 MB, free: 15.14 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.227/2.227, allocations: 390.3 MB / 0.6655 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0015/0.0015, allocations: 63.91 kB / 0.9515 GB, free: 7.656 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8832/0.8847, allocations: 140.4 MB / 1.089 GB, free: 5.52 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss): time 0.003049/0.8878, allocations: 1.909 MB / 1.09 GB, free: 4.188 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.003827/0.8917, allocations: 3.459 MB / 1.094 GB, free: 1.664 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000139/0.8918, allocations: 0.8438 kB / 1.094 GB, free: 1.664 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.000327/0.8922, allocations: 47.31 kB / 1.094 GB, free: 1.641 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0005405/0.8928, allocations: 141.5 kB / 1.094 GB, free: 1.562 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 9.563e-05/0.8929, allocations: 20.27 kB / 1.094 GB, free: 1.555 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002744/0.8932, allocations: 177.7 kB / 1.094 GB, free: 1.473 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001186/0.8933, allocations: 30.39 kB / 1.094 GB, free: 1.457 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001986/0.8935, allocations: 89.19 kB / 1.094 GB, free: 1.418 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001956/0.8937, allocations: 88.88 kB / 1.094 GB, free: 1.375 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.194e-05/0.8937, allocations: 9.344 kB / 1.094 GB, free: 1.375 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001088/0.8938, allocations: 25.55 kB / 1.094 GB, free: 1.371 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 8.656e-05/0.8939, allocations: 42.66 kB / 1.094 GB, free: 1.348 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 9.914e-05/0.894, allocations: 77.08 kB / 1.095 GB, free: 1.301 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002699/0.8943, allocations: 169.7 kB / 1.095 GB, free: 1.23 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.8943, allocations: 0 / 1.095 GB, free: 1.23 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.124e-06/0.8943, allocations: 0.7812 kB / 1.095 GB, free: 1.23 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.232e-06/0.8944, allocations: 0 / 1.095 GB, free: 1.23 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.0008934/0.8952, allocations: 0.5082 MB / 1.095 GB, free: 0.7812 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.09e-05/0.8953, allocations: 8.75 kB / 1.095 GB, free: 0.7812 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.478e-05/0.8954, allocations: 21.81 kB / 1.095 GB, free: 0.7695 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000344/0.8957, allocations: 248.8 kB / 1.095 GB, free: 0.5234 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.283e-05/0.8957, allocations: 2.156 kB / 1.095 GB, free: 0.5234 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.517e-05/0.8958, allocations: 3.625 kB / 1.095 GB, free: 0.5234 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003744/0.8962, allocations: 140.1 kB / 1.096 GB, free: 476 kB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.734e-06/0.8962, allocations: 4 kB / 1.096 GB, free: 472 kB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.807e-05/0.8962, allocations: 5.766 kB / 1.096 GB, free: 468 kB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.352e-05/0.8962, allocations: 17.41 kB / 1.096 GB, free: 460 kB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004677/0.8967, allocations: 144.4 kB / 1.096 GB, free: 428 kB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007217/0.8974, allocations: 461.6 kB / 1.096 GB, free: 72 kB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004548/0.8979, allocations: 168.2 kB / 1.096 GB, free: 4 kB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003324/0.8982, allocations: 109.6 kB / 1.096 GB, free: 15.96 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 2.37e-05/0.8983, allocations: 6.031 kB / 1.097 GB, free: 15.96 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.718e-05/0.8983, allocations: 35.94 kB / 1.097 GB, free: 15.91 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=13): time 1.112e-06/0.8983, allocations: 0.75 kB / 1.097 GB, free: 15.91 MB / 0.8731 GB Notification: Performance of matching and sorting (n=13): time 0.000979/0.8993, allocations: 296.1 kB / 1.097 GB, free: 15.81 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.571e-05/0.8994, allocations: 53.59 kB / 1.097 GB, free: 15.75 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002642/0.8996, allocations: 212.8 kB / 1.097 GB, free: 15.61 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.385e-05/0.8997, allocations: 27.2 kB / 1.097 GB, free: 15.58 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 9.573e-05/0.8998, allocations: 121.4 kB / 1.097 GB, free: 15.47 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 5.555e-05/0.8998, allocations: 51.7 kB / 1.097 GB, free: 15.43 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.359e-05/0.8999, allocations: 36.05 kB / 1.097 GB, free: 15.41 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001502/0.9001, allocations: 333.7 kB / 1.098 GB, free: 15.08 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002577/0.9003, allocations: 72.64 kB / 1.098 GB, free: 15.07 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000241/0.9006, allocations: 77.56 kB / 1.098 GB, free: 15.05 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000503/0.9011, allocations: 169.7 kB / 1.098 GB, free: 15 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.9011, allocations: 0 / 1.098 GB, free: 15 MB / 0.8731 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005974/0.9017, allocations: 214 kB / 1.098 GB, free: 14.91 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.9017, allocations: 5.281 kB / 1.098 GB, free: 14.91 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.9018, allocations: 0.75 kB / 1.098 GB, free: 14.91 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.648e-05/0.9018, allocations: 1.188 kB / 1.098 GB, free: 14.91 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002759/0.9021, allocations: 40.98 kB / 1.098 GB, free: 14.91 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.885e-06/0.9021, allocations: 1.219 kB / 1.098 GB, free: 14.91 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001708/0.9022, allocations: 17.08 kB / 1.098 GB, free: 14.9 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.774e-05/0.9023, allocations: 8.016 kB / 1.098 GB, free: 14.9 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.0001421/0.9024, allocations: 129.2 kB / 1.098 GB, free: 14.77 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.069e-05/0.9025, allocations: 18 kB / 1.098 GB, free: 14.77 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.555e-05/0.9025, allocations: 28.14 kB / 1.098 GB, free: 14.75 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.9026, allocations: 1.531 kB / 1.098 GB, free: 14.75 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.887e-06/0.9026, allocations: 1.359 kB / 1.098 GB, free: 14.75 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.9026, allocations: 1.656 kB / 1.098 GB, free: 14.75 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003711/0.903, allocations: 269.2 kB / 1.099 GB, free: 14.51 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.35e-06/0.903, allocations: 1.188 kB / 1.099 GB, free: 14.51 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002383/0.9032, allocations: 49.77 kB / 1.099 GB, free: 14.5 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.9032, allocations: 0 / 1.099 GB, free: 14.5 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.854e-05/0.9033, allocations: 3.312 kB / 1.099 GB, free: 14.5 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.616e-06/0.9033, allocations: 1.328 kB / 1.099 GB, free: 14.5 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.9033, allocations: 0 / 1.099 GB, free: 14.5 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006599/0.9039, allocations: 312.9 kB / 1.099 GB, free: 14.31 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001197/0.9041, allocations: 114.1 kB / 1.099 GB, free: 14.2 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.603e-05/0.9041, allocations: 1.844 kB / 1.099 GB, free: 14.2 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001971/0.9043, allocations: 20.25 kB / 1.099 GB, free: 14.19 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.265e-05/0.9044, allocations: 8.812 kB / 1.099 GB, free: 14.19 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.609e-05/0.9044, allocations: 4.359 kB / 1.099 GB, free: 14.19 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.000174/0.9046, allocations: 163.1 kB / 1.099 GB, free: 14.09 MB / 0.8731 GB Notification: Performance of sort global known variables: time 2.4e-07/0.9046, allocations: 0 / 1.099 GB, free: 14.09 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003135/0.9049, allocations: 44.03 kB / 1.099 GB, free: 14.08 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.0001931/0.9051, allocations: 105.2 kB / 1.099 GB, free: 13.99 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0006122/0.9057, allocations: 175.3 kB / 1.1 GB, free: 13.95 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.534e-06/0.9057, allocations: 0 / 1.1 GB, free: 13.95 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.000285/0.906, allocations: 101.6 kB / 1.1 GB, free: 13.92 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004795/0.9065, allocations: 34.94 kB / 1.1 GB, free: 13.9 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001053/0.9076, allocations: 454.3 kB / 1.1 GB, free: 13.62 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003892/0.908, allocations: 0.7323 MB / 1.101 GB, free: 12.92 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.478e-05/0.9081, allocations: 23.86 kB / 1.101 GB, free: 12.91 MB / 0.8731 GB Notification: Performance of SimCode: time 5.91e-07/0.9081, allocations: 0 / 1.101 GB, free: 12.91 MB / 0.8731 GB Notification: Performance of Templates: time 0.006114/0.9142, allocations: 2.321 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