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.001718/0.001718, allocations: 111.6 kB / 16.42 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.001661/0.001661, allocations: 189.5 kB / 17.35 MB, free: 5.738 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.322/1.322, 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.165/2.165, allocations: 390.3 MB / 0.6655 GB, free: 0.6641 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001179/0.001179, allocations: 63.84 kB / 0.9515 GB, free: 7.672 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7046/0.7057, allocations: 140.4 MB / 1.089 GB, free: 5.527 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss): time 0.002661/0.7084, allocations: 1.908 MB / 1.09 GB, free: 4.191 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.003838/0.7123, allocations: 3.457 MB / 1.094 GB, free: 1.672 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.664e-05/0.7124, allocations: 0 / 1.094 GB, free: 1.672 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0002381/0.7127, allocations: 50.72 kB / 1.094 GB, free: 1.645 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0004243/0.7131, allocations: 138.3 kB / 1.094 GB, free: 1.57 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 7.567e-05/0.7132, allocations: 24.7 kB / 1.094 GB, free: 1.559 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002217/0.7134, allocations: 168.8 kB / 1.094 GB, free: 1.484 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001266/0.7135, allocations: 35.47 kB / 1.094 GB, free: 1.465 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002169/0.7138, allocations: 95.77 kB / 1.094 GB, free: 1.418 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001582/0.7139, allocations: 81.33 kB / 1.094 GB, free: 1.383 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.074e-05/0.714, allocations: 8.875 kB / 1.094 GB, free: 1.383 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 9.21e-05/0.7141, allocations: 34.45 kB / 1.094 GB, free: 1.371 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 7.102e-05/0.7142, allocations: 42.42 kB / 1.095 GB, free: 1.348 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 8.127e-05/0.7142, allocations: 73.19 kB / 1.095 GB, free: 1.305 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002349/0.7145, allocations: 173.3 kB / 1.095 GB, free: 1.23 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 2.875e-06/0.7145, allocations: 0.9062 kB / 1.095 GB, free: 1.23 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.042e-06/0.7145, allocations: 0 / 1.095 GB, free: 1.23 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 2.33e-05/0.7145, 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.000813/0.7153, allocations: 0.5033 MB / 1.095 GB, free: 0.7852 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.631e-05/0.7154, allocations: 9.031 kB / 1.095 GB, free: 0.7852 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.877e-05/0.7155, allocations: 21.56 kB / 1.095 GB, free: 0.7734 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00032/0.7158, allocations: 244.6 kB / 1.095 GB, free: 0.5312 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.137e-05/0.7158, allocations: 7.531 kB / 1.096 GB, free: 0.5273 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.273e-05/0.7158, allocations: 4 kB / 1.096 GB, free: 0.5273 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003648/0.7162, allocations: 150.6 kB / 1.096 GB, free: 468 kB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.721e-05/0.7162, allocations: 1.031 kB / 1.096 GB, free: 468 kB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.511e-05/0.7163, allocations: 4.844 kB / 1.096 GB, free: 464 kB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.942e-05/0.7163, allocations: 9.578 kB / 1.096 GB, free: 464 kB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004888/0.7168, allocations: 146.2 kB / 1.096 GB, free: 428 kB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007529/0.7176, allocations: 461.7 kB / 1.096 GB, free: 72 kB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005688/0.7182, allocations: 168.1 kB / 1.096 GB, free: 4 kB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003224/0.7185, allocations: 105.9 kB / 1.097 GB, free: 15.96 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 2.339e-05/0.7185, allocations: 5.594 kB / 1.097 GB, free: 15.96 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.373e-05/0.7186, allocations: 32 kB / 1.097 GB, free: 15.92 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=13): time 1.342e-06/0.7186, allocations: 0 / 1.097 GB, free: 15.92 MB / 0.8731 GB Notification: Performance of matching and sorting (n=13): time 0.001017/0.7196, allocations: 303.3 kB / 1.097 GB, free: 15.81 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.755e-05/0.7196, allocations: 53.72 kB / 1.097 GB, free: 15.75 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002363/0.7199, allocations: 212.8 kB / 1.097 GB, free: 15.62 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.223e-05/0.7199, allocations: 26.55 kB / 1.097 GB, free: 15.59 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 7.218e-05/0.72, allocations: 118.1 kB / 1.097 GB, free: 15.48 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 4.704e-05/0.72, allocations: 52.2 kB / 1.097 GB, free: 15.44 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.538e-05/0.7201, allocations: 31.62 kB / 1.097 GB, free: 15.41 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001187/0.7202, allocations: 333.5 kB / 1.098 GB, free: 15.09 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002452/0.7205, allocations: 72.56 kB / 1.098 GB, free: 15.07 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002342/0.7207, allocations: 73.69 kB / 1.098 GB, free: 15.06 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000475/0.7212, allocations: 165.7 kB / 1.098 GB, free: 15.01 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.7212, allocations: 0 / 1.098 GB, free: 15.01 MB / 0.8731 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0006571/0.7219, allocations: 221.7 kB / 1.098 GB, free: 14.92 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.595e-05/0.7219, allocations: 7.688 kB / 1.098 GB, free: 14.92 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.588e-06/0.7219, allocations: 0.7031 kB / 1.098 GB, free: 14.92 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.216e-05/0.7219, allocations: 1.094 kB / 1.098 GB, free: 14.92 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002629/0.7222, allocations: 37.38 kB / 1.098 GB, free: 14.92 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.492e-06/0.7222, allocations: 1 kB / 1.098 GB, free: 14.92 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001755/0.7224, allocations: 20.53 kB / 1.098 GB, free: 14.91 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.669e-05/0.7224, allocations: 5.141 kB / 1.098 GB, free: 14.91 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.0001174/0.7226, allocations: 132 kB / 1.098 GB, free: 14.78 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.919e-05/0.7226, allocations: 21.27 kB / 1.098 GB, free: 14.77 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.9e-05/0.7227, allocations: 25.17 kB / 1.098 GB, free: 14.75 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.7227, allocations: 2.344 kB / 1.098 GB, free: 14.75 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.7227, allocations: 0 / 1.098 GB, free: 14.75 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001114/0.7228, allocations: 114.6 kB / 1.098 GB, free: 14.64 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.626e-05/0.7229, allocations: 9.422 kB / 1.098 GB, free: 14.63 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002059/0.7231, allocations: 15.94 kB / 1.099 GB, free: 14.63 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.431e-05/0.7231, allocations: 12.28 kB / 1.099 GB, free: 14.62 MB / 0.8731 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007378/0.7239, allocations: 301.7 kB / 1.099 GB, free: 14.47 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006537/0.7246, allocations: 396.6 kB / 1.099 GB, free: 14.21 MB / 0.8731 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002553/0.7248, allocations: 93.78 kB / 1.099 GB, free: 14.18 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0001347/0.725, allocations: 162.6 kB / 1.099 GB, free: 14.08 MB / 0.8731 GB Notification: Performance of Backend: time 3.9e-07/0.725, allocations: 1 kB / 1.099 GB, free: 14.08 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0006535/0.7256, allocations: 172.7 kB / 1.1 GB, free: 14 MB / 0.8731 GB Notification: Performance of SimCode: time 0.001013/0.7267, allocations: 0.8407 MB / 1.1 GB, free: 13.27 MB / 0.8731 GB Notification: Performance of Templates: time 0.00663/0.7333, allocations: 2.456 MB / 1.103 GB, free: 13.09 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