Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.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.ASHRAESolarGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|solHeaGai.TFlu.1.|solHeaGai.TFlu.2.|solHeaGai.TFlu.3.|solHeaGai.QSol_flow.1.|solHeaGai.QSol_flow.2.|solHeaGai.QSol_flow.3.",fileNamePrefix="Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain") translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|solHeaGai.TFlu.1.|solHeaGai.TFlu.2.|solHeaGai.TFlu.3.|solHeaGai.QSol_flow.1.|solHeaGai.QSol_flow.2.|solHeaGai.QSol_flow.3.",fileNamePrefix="Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009399/0.009399, allocations: 100.5 kB / 15.73 MB, free: 6.02 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.002076/0.002076, allocations: 189.6 kB / 16.67 MB, free: 5.938 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.384/1.384, allocations: 222.9 MB / 240.4 MB, free: 15.08 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.2 MB / 0.6648 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001199/0.001199, allocations: 63.91 kB / 0.9508 GB, free: 7.625 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9585/0.9597, allocations: 140.4 MB / 1.088 GB, free: 5.762 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain): time 0.00294/0.9627, allocations: 2.143 MB / 1.09 GB, free: 4.25 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.004212/0.9669, allocations: 3.784 MB / 1.094 GB, free: 1.5 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000145/0.9671, allocations: 1.938 kB / 1.094 GB, free: 1.5 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0002998/0.9674, allocations: 65.59 kB / 1.094 GB, free: 1.461 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.00039/0.9678, allocations: 130.4 kB / 1.094 GB, free: 1.383 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004883/0.9683, allocations: 143.1 kB / 1.094 GB, free: 1.316 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0004449/0.9688, allocations: 320.3 kB / 1.094 GB, free: 1.168 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001694/0.969, allocations: 55.02 kB / 1.094 GB, free: 1.141 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002779/0.9693, allocations: 139.6 kB / 1.095 GB, free: 1.078 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002046/0.9695, allocations: 138.9 kB / 1.095 GB, free: 1.02 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.444e-05/0.9695, allocations: 19.97 kB / 1.095 GB, free: 1.02 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000333/0.9699, allocations: 133.9 kB / 1.095 GB, free: 0.9805 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 7.84e-05/0.9699, allocations: 63.33 kB / 1.095 GB, free: 0.9414 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001367/0.9701, allocations: 120.1 kB / 1.095 GB, free: 0.8672 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0005208/0.9706, allocations: 336.8 kB / 1.095 GB, free: 0.7305 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.9706, allocations: 0.75 kB / 1.095 GB, free: 0.7305 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.533e-06/0.9706, allocations: 4 kB / 1.095 GB, free: 0.7266 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.234e-06/0.9707, allocations: 0.7188 kB / 1.095 GB, free: 0.7266 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.001249/0.9719, allocations: 0.6426 MB / 1.096 GB, free: 220 kB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.913e-05/0.972, allocations: 9.656 kB / 1.096 GB, free: 220 kB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001045/0.973, allocations: 176.2 kB / 1.096 GB, free: 184 kB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008722/0.9739, allocations: 330.2 kB / 1.096 GB, free: 15.91 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.676e-05/0.9739, allocations: 5.188 kB / 1.096 GB, free: 15.91 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.396e-05/0.974, allocations: 15.25 kB / 1.096 GB, free: 15.91 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007476/0.9747, allocations: 221.6 kB / 1.097 GB, free: 15.83 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.458e-06/0.9747, allocations: 0.7969 kB / 1.097 GB, free: 15.83 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.621e-05/0.9748, allocations: 8.781 kB / 1.097 GB, free: 15.82 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.121e-06/0.9748, allocations: 3.312 kB / 1.097 GB, free: 15.82 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001107/0.9759, allocations: 286.7 kB / 1.097 GB, free: 15.76 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001525/0.9774, allocations: 0.5714 MB / 1.098 GB, free: 15.38 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006425/0.9781, allocations: 172.2 kB / 1.098 GB, free: 15.32 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005449/0.9786, allocations: 161 kB / 1.098 GB, free: 15.27 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009362/0.9796, allocations: 0.5531 MB / 1.098 GB, free: 14.69 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.692e-05/0.9796, allocations: 32.56 kB / 1.098 GB, free: 14.65 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=13): time 2.335e-06/0.9796, allocations: 3.938 kB / 1.098 GB, free: 14.65 MB / 0.8731 GB Notification: Performance of matching and sorting (n=13): time 0.001847/0.9815, allocations: 485.2 kB / 1.099 GB, free: 14.5 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.793e-05/0.9815, allocations: 61.78 kB / 1.099 GB, free: 14.43 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003154/0.9819, allocations: 266.9 kB / 1.099 GB, free: 14.28 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 3.936e-05/0.9819, allocations: 27.38 kB / 1.099 GB, free: 14.25 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001102/0.982, allocations: 147.9 kB / 1.099 GB, free: 14.12 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 5.414e-05/0.9821, allocations: 44.47 kB / 1.099 GB, free: 14.08 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001045/0.9822, allocations: 42.14 kB / 1.099 GB, free: 14.05 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001819/0.9824, allocations: 345.4 kB / 1.1 GB, free: 13.72 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005729/0.983, allocations: 143.1 kB / 1.1 GB, free: 13.69 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005659/0.9836, allocations: 147.6 kB / 1.1 GB, free: 13.66 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001102/0.9847, allocations: 289.1 kB / 1.1 GB, free: 13.58 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.9847, allocations: 1.406 kB / 1.1 GB, free: 13.58 MB / 0.8731 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001284/0.986, allocations: 375.2 kB / 1.101 GB, free: 13.45 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.17e-05/0.986, allocations: 6.594 kB / 1.101 GB, free: 13.45 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.986, allocations: 0 / 1.101 GB, free: 13.45 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.641e-05/0.986, allocations: 0.7188 kB / 1.101 GB, free: 13.45 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004852/0.9865, allocations: 65.44 kB / 1.101 GB, free: 13.45 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.221e-06/0.9865, allocations: 0 / 1.101 GB, free: 13.45 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003794/0.9869, allocations: 56.17 kB / 1.101 GB, free: 13.43 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.692e-05/0.987, allocations: 5.938 kB / 1.101 GB, free: 13.43 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 (17): * Single equations (assignments): 17 * 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.0001606/0.9871, allocations: 132.5 kB / 1.101 GB, free: 13.3 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.84e-05/0.9872, allocations: 27.84 kB / 1.101 GB, free: 13.29 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001333/0.9885, allocations: 374.2 kB / 1.101 GB, free: 13.16 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/0.9886, allocations: 1.656 kB / 1.101 GB, free: 13.16 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.143e-06/0.9886, allocations: 1.156 kB / 1.101 GB, free: 13.16 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.081e-06/0.9886, allocations: 5.688 kB / 1.101 GB, free: 13.16 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004076/0.989, allocations: 306.3 kB / 1.102 GB, free: 12.91 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.989, allocations: 0 / 1.102 GB, free: 12.91 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004256/0.9894, allocations: 65.88 kB / 1.102 GB, free: 12.9 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-06/0.9894, allocations: 1.641 kB / 1.102 GB, free: 12.9 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.703e-05/0.9895, allocations: 7.938 kB / 1.102 GB, free: 12.9 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.9895, allocations: 5.094 kB / 1.102 GB, free: 12.89 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.9895, allocations: 0 / 1.102 GB, free: 12.89 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001259/0.9908, allocations: 459.7 kB / 1.102 GB, free: 12.67 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002516/0.991, allocations: 125 kB / 1.102 GB, free: 12.55 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.309e-05/0.9911, allocations: 5.484 kB / 1.102 GB, free: 12.54 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003656/0.9914, allocations: 33.94 kB / 1.102 GB, free: 12.54 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.578e-05/0.9915, allocations: 20.45 kB / 1.102 GB, free: 12.54 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.541e-05/0.9916, allocations: 13.62 kB / 1.102 GB, free: 12.53 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0002312/0.9918, allocations: 186.1 kB / 1.102 GB, free: 12.42 MB / 0.8731 GB Notification: Performance of sort global known variables: time 4.41e-07/0.9918, allocations: 4.688 kB / 1.102 GB, free: 12.41 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0004718/0.9923, allocations: 67.42 kB / 1.103 GB, free: 12.4 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.0003845/0.9927, allocations: 134.2 kB / 1.103 GB, free: 12.3 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001391/0.9941, allocations: 322.4 kB / 1.103 GB, free: 12.23 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 5.991e-06/0.9941, allocations: 0 / 1.103 GB, free: 12.23 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0006479/0.9948, allocations: 171.4 kB / 1.103 GB, free: 12.18 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005/0.9953, allocations: 26.09 kB / 1.103 GB, free: 12.17 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001223/0.9965, allocations: 0.4939 MB / 1.104 GB, free: 11.88 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003501/0.9969, allocations: 0.7468 MB / 1.104 GB, free: 11.18 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0002691/0.9971, allocations: 46.77 kB / 1.104 GB, free: 11.16 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001154/0.9973, allocations: 31.52 kB / 1.104 GB, free: 11.15 MB / 0.8731 GB Notification: Performance of SimCode: time 6.62e-07/0.9973, allocations: 0 / 1.104 GB, free: 11.15 MB / 0.8731 GB Notification: Performance of Templates: time 0.008964/1.006, allocations: 3.301 MB / 1.108 GB, free: 10.89 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.makefile (rm -f Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; mkfifo Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe >> ../files/Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.sim & ./Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches