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.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.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.007805/0.007805, allocations: 99.89 kB / 15.73 MB, free: 6.016 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.001669/0.001669, allocations: 187.7 kB / 16.67 MB, free: 5.93 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.37/1.37, allocations: 222.9 MB / 240.4 MB, free: 15.09 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.23/2.23, allocations: 390.2 MB / 0.6648 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001411/0.001411, allocations: 68.11 kB / 0.9508 GB, free: 7.668 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.985/0.9864, allocations: 140.4 MB / 1.088 GB, free: 5.531 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface): time 0.008793/0.9953, allocations: 5.33 MB / 1.093 GB, free: 1.742 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.2211/1.216, allocations: 151 MB / 1.241 GB, free: 15.85 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00169/1.218, allocations: 19.06 kB / 1.241 GB, free: 15.84 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0009341/1.219, allocations: 203.9 kB / 1.241 GB, free: 15.66 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.002871/1.222, allocations: 0.6433 MB / 1.241 GB, free: 15.17 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.003104/1.225, allocations: 1.008 MB / 1.242 GB, free: 14.39 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.002683/1.228, allocations: 1.804 MB / 1.244 GB, free: 13.27 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001715/1.23, allocations: 1.176 MB / 1.245 GB, free: 12.54 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001345/1.231, allocations: 0.7864 MB / 1.246 GB, free: 11.77 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009568/1.232, allocations: 0.8401 MB / 1.247 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0002638/1.232, allocations: 220 kB / 1.247 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001319/1.234, allocations: 0.5699 MB / 1.248 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0004491/1.234, allocations: 498.5 kB / 1.248 GB, free: 9.656 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0009049/1.235, allocations: 0.9134 MB / 1.249 GB, free: 8.738 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.00355/1.238, allocations: 2.581 MB / 1.252 GB, free: 6.148 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.141e-06/1.238, allocations: 0 / 1.252 GB, free: 6.148 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.683e-06/1.238, allocations: 0 / 1.252 GB, free: 6.148 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 2.333e-05/1.239, allocations: 0 / 1.252 GB, free: 6.148 MB / 0.9825 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.003908/1.242, allocations: 2.058 MB / 1.254 GB, free: 4.031 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.909e-05/1.243, allocations: 8.031 kB / 1.254 GB, free: 4.023 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00112/1.244, allocations: 259.6 kB / 1.254 GB, free: 3.77 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001668/1.245, allocations: 1.009 MB / 1.255 GB, free: 2.719 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001716/1.245, allocations: 144.8 kB / 1.255 GB, free: 2.57 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002096/1.246, allocations: 152 kB / 1.255 GB, free: 2.422 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003517/1.249, allocations: 1.593 MB / 1.257 GB, free: 0.7734 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.099e-05/1.249, allocations: 4 kB / 1.257 GB, free: 0.7695 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000168/1.249, allocations: 63.98 kB / 1.257 GB, free: 0.707 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.462e-05/1.25, allocations: 40 kB / 1.257 GB, free: 0.668 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003048/1.253, allocations: 1.588 MB / 1.258 GB, free: 15.07 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007329/1.26, allocations: 4.204 MB / 1.262 GB, free: 10.79 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001933/1.262, allocations: 1.094 MB / 1.263 GB, free: 9.691 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007292/1.263, allocations: 431.7 kB / 1.264 GB, free: 9.266 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.948e-05/1.263, allocations: 41.02 kB / 1.264 GB, free: 9.227 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001211/1.264, allocations: 0.7003 MB / 1.265 GB, free: 8.504 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=111): time 5.61e-06/1.264, allocations: 4 kB / 1.265 GB, free: 8.5 MB / 0.9981 GB Notification: Performance of matching and sorting (n=111): time 0.004017/1.268, allocations: 1.653 MB / 1.266 GB, free: 6.824 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001113/1.268, allocations: 196.9 kB / 1.266 GB, free: 6.59 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001127/1.269, allocations: 0.8415 MB / 1.267 GB, free: 5.734 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 8.877e-05/1.269, allocations: 45.7 kB / 1.267 GB, free: 5.684 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005016/1.27, allocations: 0.6299 MB / 1.268 GB, free: 5.047 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003163/1.27, allocations: 380.8 kB / 1.268 GB, free: 4.672 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003402/1.271, allocations: 226.8 kB / 1.268 GB, free: 4.445 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.000139/1.271, allocations: 349.9 kB / 1.269 GB, free: 4.098 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007384/1.271, allocations: 402.4 kB / 1.269 GB, free: 3.703 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008689/1.272, allocations: 0.5033 MB / 1.27 GB, free: 3.184 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00158/1.274, allocations: 0.8838 MB / 1.27 GB, free: 2.289 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/1.274, allocations: 0 / 1.27 GB, free: 2.289 MB / 0.9981 GB Notification: Performance of matching and sorting (n=137) (initialization): time 0.002664/1.277, allocations: 1.208 MB / 1.272 GB, free: 1.07 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.849e-05/1.277, allocations: 8 kB / 1.272 GB, free: 1.062 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.488e-06/1.277, allocations: 0 / 1.272 GB, free: 1.062 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006213/1.277, allocations: 88.83 kB / 1.272 GB, free: 0.9727 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009795/1.278, allocations: 231.6 kB / 1.272 GB, free: 0.7461 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002189/1.28, allocations: 1.647 MB / 1.274 GB, free: 14.95 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001154/1.282, allocations: 135.2 kB / 1.274 GB, free: 14.82 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001043/1.282, allocations: 52.02 kB / 1.274 GB, free: 14.77 MB / 1.014 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.0007869/1.283, allocations: 352.2 kB / 1.274 GB, free: 14.41 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002647/1.283, allocations: 111.3 kB / 1.274 GB, free: 14.3 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003325/1.286, allocations: 1.536 MB / 1.276 GB, free: 12.75 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.215e-05/1.286, allocations: 12 kB / 1.276 GB, free: 12.73 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/1.286, allocations: 0 / 1.276 GB, free: 12.73 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.277e-05/1.286, allocations: 11.97 kB / 1.276 GB, free: 12.72 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001623/1.288, allocations: 1.376 MB / 1.277 GB, free: 11.3 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.529e-06/1.288, allocations: 0 / 1.277 GB, free: 11.3 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008462/1.289, allocations: 191.7 kB / 1.277 GB, free: 11.11 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000464/1.289, allocations: 76.78 kB / 1.277 GB, free: 11.04 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.571e-05/1.289, allocations: 35.97 kB / 1.277 GB, free: 11 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001976/1.291, allocations: 1.674 MB / 1.279 GB, free: 9.18 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/1.291, allocations: 4.062 kB / 1.279 GB, free: 9.176 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002776/1.294, allocations: 1.289 MB / 1.28 GB, free: 7.863 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005785/1.295, allocations: 367.8 kB / 1.281 GB, free: 7.484 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001838/1.295, allocations: 28 kB / 1.281 GB, free: 7.457 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000876/1.296, allocations: 83.84 kB / 1.281 GB, free: 7.375 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001859/1.296, allocations: 97.17 kB / 1.281 GB, free: 7.281 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000105/1.296, allocations: 51.97 kB / 1.281 GB, free: 7.23 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0008639/1.297, allocations: 0.6174 MB / 1.281 GB, free: 6.602 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.51e-07/1.297, allocations: 0 / 1.281 GB, free: 6.602 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001165/1.298, allocations: 454.5 kB / 1.282 GB, free: 6.156 MB / 1.014 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.001414/1.3, allocations: 0.6158 MB / 1.283 GB, free: 5.715 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0022/1.302, allocations: 1.15 MB / 1.284 GB, free: 4.551 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/1.302, allocations: 0 / 1.284 GB, free: 4.551 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.001185/1.303, allocations: 0.6857 MB / 1.284 GB, free: 3.855 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001311/1.304, allocations: 325.2 kB / 1.285 GB, free: 3.559 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005268/1.31, allocations: 2.617 MB / 1.287 GB, free: 0.9062 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008107/1.31, allocations: 1.22 MB / 1.288 GB, free: 15.65 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.001081/1.311, allocations: 317 kB / 1.289 GB, free: 15.34 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003934/1.312, allocations: 143.4 kB / 1.289 GB, free: 15.2 MB / 1.029 GB Notification: Performance of SimCode: time 1.012e-06/1.312, allocations: 0 / 1.289 GB, free: 15.2 MB / 1.029 GB Notification: Performance of Templates: time 0.03447/1.346, allocations: 19.74 MB / 1.308 GB, free: 11.63 MB / 1.045 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches