Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|HDirRoo.H|HDirWal.H|HDirFlo.H",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface") translateModel(Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|HDirRoo.H|HDirWal.H|HDirFlo.H",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001539/0.001539, allocations: 102.4 kB / 16.35 MB, free: 5.824 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.001668/0.001668, allocations: 192.3 kB / 17.29 MB, free: 5.48 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.381/1.381, 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.2-maint.9.1.x/package.mo): time 2.216/2.216, allocations: 390.3 MB / 0.6655 GB, free: 0.582 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001346/0.001346, allocations: 61.89 kB / 0.814 GB, free: 32.68 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2837/0.2851, allocations: 140.4 MB / 0.9511 GB, free: 8.043 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface): time 0.00687/0.292, allocations: 5.345 MB / 0.9563 GB, free: 2.676 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.7262/1.018, allocations: 151 MB / 1.104 GB, free: 4.438 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001025/1.019, allocations: 19.59 kB / 1.104 GB, free: 4.438 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0006985/1.02, allocations: 205.2 kB / 1.104 GB, free: 4.379 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0023/1.022, allocations: 0.6371 MB / 1.105 GB, free: 4.188 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002562/1.025, allocations: 1.003 MB / 1.106 GB, free: 4.109 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.002617/1.028, allocations: 1.802 MB / 1.107 GB, free: 3.875 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001683/1.029, allocations: 1.168 MB / 1.108 GB, free: 3.645 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001408/1.031, allocations: 0.7709 MB / 1.109 GB, free: 3.625 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001216/1.032, allocations: 0.8347 MB / 1.11 GB, free: 3.617 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.000384/1.032, allocations: 219.4 kB / 1.11 GB, free: 3.617 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001586/1.034, allocations: 0.5749 MB / 1.111 GB, free: 3.598 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0004921/1.034, allocations: 497.3 kB / 1.111 GB, free: 3.586 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0009846/1.035, allocations: 0.9118 MB / 1.112 GB, free: 3.578 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.003669/1.039, allocations: 2.569 MB / 1.115 GB, free: 3.258 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.139e-06/1.039, allocations: 0 / 1.115 GB, free: 3.258 MB / 0.8575 GB Notification: Performance of FrontEnd: time 3.246e-06/1.039, allocations: 0 / 1.115 GB, free: 3.258 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.009e-05/1.039, allocations: 3.938 kB / 1.115 GB, free: 3.254 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: 398 * Number of variables: 398 Notification: Performance of Generate backend data structure: time 0.004781/1.044, allocations: 1.997 MB / 1.117 GB, free: 18.27 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.883e-05/1.044, allocations: 10.16 kB / 1.117 GB, free: 18.27 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001279/1.045, allocations: 256.5 kB / 1.117 GB, free: 18.18 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001914/1.047, allocations: 0.9998 MB / 1.118 GB, free: 17.77 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001685/1.047, allocations: 151.6 kB / 1.118 GB, free: 17.73 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002071/1.048, allocations: 150.5 kB / 1.118 GB, free: 17.73 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00285/1.051, allocations: 1.593 MB / 1.12 GB, free: 17.54 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.908e-05/1.051, allocations: 0 / 1.12 GB, free: 17.54 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001444/1.051, allocations: 65.05 kB / 1.12 GB, free: 17.54 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.75e-05/1.051, allocations: 38.22 kB / 1.12 GB, free: 17.54 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002619/1.053, allocations: 1.591 MB / 1.121 GB, free: 17.52 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007374/1.061, allocations: 4.188 MB / 1.125 GB, free: 16.5 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001874/1.063, allocations: 1.087 MB / 1.127 GB, free: 16.45 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007017/1.063, allocations: 427.8 kB / 1.127 GB, free: 16.43 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001026/1.064, allocations: 40.61 kB / 1.127 GB, free: 16.43 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001229/1.065, allocations: 0.7076 MB / 1.128 GB, free: 16.34 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=111): time 2.926e-06/1.065, allocations: 0 / 1.128 GB, free: 16.34 MB / 0.8731 GB Notification: Performance of matching and sorting (n=111): time 0.004001/1.069, allocations: 1.657 MB / 1.129 GB, free: 16.11 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001414/1.069, allocations: 195.6 kB / 1.129 GB, free: 15.89 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001273/1.07, allocations: 0.8441 MB / 1.13 GB, free: 15.75 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0001174/1.07, allocations: 49.77 kB / 1.13 GB, free: 15.72 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004717/1.071, allocations: 0.6134 MB / 1.131 GB, free: 15.43 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002699/1.071, allocations: 358.9 kB / 1.131 GB, free: 15.21 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003608/1.071, allocations: 223.3 kB / 1.131 GB, free: 15.19 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.000161/1.072, allocations: 350 kB / 1.132 GB, free: 14.88 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007201/1.072, allocations: 397.8 kB / 1.132 GB, free: 14.88 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000868/1.073, allocations: 0.5053 MB / 1.133 GB, free: 14.81 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001541/1.075, allocations: 0.8826 MB / 1.134 GB, free: 14.74 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.619e-06/1.075, allocations: 0 / 1.134 GB, free: 14.74 MB / 0.8731 GB Notification: Performance of matching and sorting (n=137) (initialization): time 0.002756/1.078, allocations: 1.204 MB / 1.135 GB, free: 14.5 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.318e-05/1.078, allocations: 7.562 kB / 1.135 GB, free: 14.5 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.806e-06/1.078, allocations: 1.5 kB / 1.135 GB, free: 14.5 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006032/1.078, allocations: 89.2 kB / 1.135 GB, free: 14.48 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009853/1.079, allocations: 227.3 kB / 1.135 GB, free: 14.46 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002442/1.082, allocations: 1.649 MB / 1.137 GB, free: 12.91 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001228/1.083, allocations: 132.6 kB / 1.137 GB, free: 12.84 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001513/1.083, allocations: 48.56 kB / 1.137 GB, free: 12.83 MB / 0.8731 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 26 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,HDirWal.incAng.decAng.tNext,$PRE.HDirWal.incAng.decAng.tNext,HDirFlo.incAng.decAng.tNext,$PRE.HDirFlo.incAng.decAng.tNext,HDirRoo.incAng.decAng.tNext,$PRE.HDirRoo.incAng.decAng.tNext,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (135): * Single equations (assignments): 134 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0009521/1.084, allocations: 355.4 kB / 1.137 GB, free: 12.57 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004608/1.084, allocations: 112 kB / 1.137 GB, free: 12.52 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00394/1.088, allocations: 1.525 MB / 1.139 GB, free: 11.91 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-05/1.088, allocations: 14.84 kB / 1.139 GB, free: 11.91 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.288e-06/1.089, allocations: 4 kB / 1.139 GB, free: 11.91 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.699e-05/1.089, allocations: 6.156 kB / 1.139 GB, free: 11.91 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002471/1.091, allocations: 1.37 MB / 1.14 GB, free: 11.27 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.584e-05/1.091, allocations: 0 / 1.14 GB, free: 11.27 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008603/1.092, allocations: 200.1 kB / 1.14 GB, free: 11.25 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004856/1.092, allocations: 72.78 kB / 1.14 GB, free: 11.23 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001321/1.093, allocations: 33.73 kB / 1.14 GB, free: 11.22 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002142/1.095, allocations: 1.679 MB / 1.142 GB, free: 9.652 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.32e-06/1.095, allocations: 5.062 kB / 1.142 GB, free: 9.648 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003251/1.098, allocations: 1.281 MB / 1.143 GB, free: 9.105 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000889/1.099, allocations: 361.7 kB / 1.144 GB, free: 8.852 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003877/1.099, allocations: 32.69 kB / 1.144 GB, free: 8.828 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001128/1.1, allocations: 86.14 kB / 1.144 GB, free: 8.809 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000268/1.101, allocations: 99.94 kB / 1.144 GB, free: 8.793 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001501/1.101, allocations: 48.66 kB / 1.144 GB, free: 8.785 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.001327/1.102, allocations: 0.6129 MB / 1.144 GB, free: 8.516 MB / 0.8731 GB Notification: Performance of sort global known variables: time 3.41e-07/1.102, allocations: 0 / 1.144 GB, free: 8.516 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.001712/1.104, allocations: 449.4 kB / 1.145 GB, free: 8.383 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: 16 ($whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,HDirRoo.incAng.decAng.tNext,HDirFlo.incAng.decAng.tNext,HDirWal.incAng.decAng.tNext) * Number of discrete states: 8 (weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,HDirRoo.incAng.decAng.tNext,HDirFlo.incAng.decAng.tNext,HDirWal.incAng.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (128): * Single equations (assignments): 119 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001801/1.106, allocations: 0.6223 MB / 1.146 GB, free: 8.121 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.002813/1.109, allocations: 1.149 MB / 1.147 GB, free: 7.656 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 7.174e-06/1.109, allocations: 3.938 kB / 1.147 GB, free: 7.652 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.001364/1.11, allocations: 0.6864 MB / 1.147 GB, free: 7.34 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001882/1.112, allocations: 317.7 kB / 1.148 GB, free: 7.223 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006623/1.118, allocations: 2.57 MB / 1.15 GB, free: 5.973 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001286/1.12, allocations: 1.224 MB / 1.151 GB, free: 5.223 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.001782/1.122, allocations: 315.3 kB / 1.152 GB, free: 5.141 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006325/1.122, allocations: 141 kB / 1.152 GB, free: 5.117 MB / 0.8731 GB Notification: Performance of SimCode: time 1.092e-06/1.122, allocations: 0 / 1.152 GB, free: 5.117 MB / 0.8731 GB Notification: Performance of Templates: time 0.0373/1.16, allocations: 19.51 MB / 1.171 GB, free: 12.3 MB / 0.8887 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.sim & ./Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches