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.001408/0.001408, allocations: 107.2 kB / 16.27 MB, free: 6.109 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.001667/0.001667, allocations: 190.2 kB / 17.2 MB, free: 5.719 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.373/1.373, allocations: 222.9 MB / 240.9 MB, free: 15.28 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.238/2.238, allocations: 390.3 MB / 0.6653 GB, free: 0.7422 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001305/0.001305, allocations: 62.98 kB / 0.8132 GB, free: 33.08 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2879/0.2892, allocations: 140.4 MB / 0.9503 GB, free: 8.91 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface): time 0.007417/0.2967, allocations: 5.326 MB / 0.9555 GB, free: 3.555 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.654/0.9508, allocations: 151 MB / 1.103 GB, free: 4.637 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001197/0.952, allocations: 19.16 kB / 1.103 GB, free: 4.637 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0007302/0.9527, allocations: 206.3 kB / 1.103 GB, free: 4.637 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.002552/0.9554, allocations: 0.6364 MB / 1.104 GB, free: 4.621 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002758/0.9582, allocations: 0.9926 MB / 1.105 GB, free: 4.598 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.002533/0.9607, allocations: 1.798 MB / 1.106 GB, free: 4.355 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001794/0.9625, allocations: 1.165 MB / 1.108 GB, free: 4.129 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00146/0.964, allocations: 0.7708 MB / 1.108 GB, free: 4.105 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001273/0.9653, allocations: 0.8389 MB / 1.109 GB, free: 4.098 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0004272/0.9657, allocations: 218.8 kB / 1.109 GB, free: 4.098 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001554/0.9673, allocations: 0.5519 MB / 1.11 GB, free: 4.074 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.000545/0.9678, allocations: 493.3 kB / 1.11 GB, free: 4.066 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.001131/0.969, allocations: 0.914 MB / 1.111 GB, free: 4.059 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.003841/0.9728, allocations: 2.51 MB / 1.114 GB, free: 3.781 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 7.744e-06/0.9728, allocations: 4.75 kB / 1.114 GB, free: 3.781 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.683e-06/0.9729, allocations: 0 / 1.114 GB, free: 3.781 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.221e-05/0.9729, allocations: 4.703 kB / 1.114 GB, free: 3.777 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.005854/0.9788, allocations: 1.994 MB / 1.116 GB, free: 18.8 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 5.274e-05/0.9789, allocations: 10.22 kB / 1.116 GB, free: 18.8 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001458/0.9803, allocations: 259.1 kB / 1.116 GB, free: 18.7 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002025/0.9824, allocations: 0.9784 MB / 1.117 GB, free: 18.29 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002115/0.9826, allocations: 143.9 kB / 1.117 GB, free: 18.26 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002436/0.9828, allocations: 150.2 kB / 1.117 GB, free: 18.26 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002925/0.9858, allocations: 1.598 MB / 1.119 GB, free: 18.06 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.044e-05/0.9858, allocations: 0 / 1.119 GB, free: 18.06 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001549/0.986, allocations: 69.98 kB / 1.119 GB, free: 18.06 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.825e-05/0.986, allocations: 38.12 kB / 1.119 GB, free: 18.06 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002715/0.9887, allocations: 1.59 MB / 1.12 GB, free: 18.04 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007711/0.9965, allocations: 4.242 MB / 1.125 GB, free: 16.99 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001948/0.9985, allocations: 1.092 MB / 1.126 GB, free: 16.94 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007454/0.9992, allocations: 431.3 kB / 1.126 GB, free: 16.93 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001062/0.9994, allocations: 43.34 kB / 1.126 GB, free: 16.92 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00131/1.001, allocations: 0.6993 MB / 1.127 GB, free: 16.83 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=111): time 3.456e-06/1.001, allocations: 0 / 1.127 GB, free: 16.83 MB / 0.8731 GB Notification: Performance of matching and sorting (n=111): time 0.004329/1.005, allocations: 1.653 MB / 1.128 GB, free: 16.6 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001332/1.005, allocations: 195.8 kB / 1.129 GB, free: 16.38 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001397/1.007, allocations: 0.8391 MB / 1.129 GB, free: 16.25 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0001493/1.007, allocations: 51.86 kB / 1.129 GB, free: 16.21 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005142/1.007, allocations: 0.6158 MB / 1.13 GB, free: 15.92 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.000324/1.008, allocations: 362.1 kB / 1.13 GB, free: 15.7 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004001/1.008, allocations: 221.8 kB / 1.131 GB, free: 15.68 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001579/1.008, allocations: 349.2 kB / 1.131 GB, free: 15.38 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008277/1.009, allocations: 400.4 kB / 1.131 GB, free: 15.37 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009543/1.01, allocations: 0.5096 MB / 1.132 GB, free: 15.3 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001617/1.012, allocations: 0.887 MB / 1.133 GB, free: 15.23 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.122e-06/1.012, allocations: 1.281 kB / 1.133 GB, free: 15.23 MB / 0.8731 GB Notification: Performance of matching and sorting (n=137) (initialization): time 0.002928/1.015, allocations: 1.201 MB / 1.134 GB, free: 14.83 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.697e-05/1.015, allocations: 5.219 kB / 1.134 GB, free: 14.83 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.122e-05/1.015, allocations: 1.062 kB / 1.134 GB, free: 14.83 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005918/1.015, allocations: 85.53 kB / 1.134 GB, free: 14.81 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009982/1.016, allocations: 234 kB / 1.134 GB, free: 14.79 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002327/1.019, allocations: 1.655 MB / 1.136 GB, free: 13.23 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001352/1.02, allocations: 131.2 kB / 1.136 GB, free: 13.16 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001208/1.02, allocations: 49.78 kB / 1.136 GB, free: 13.15 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.0009065/1.021, allocations: 353.4 kB / 1.136 GB, free: 12.9 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002932/1.021, allocations: 115.1 kB / 1.136 GB, free: 12.84 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003773/1.025, allocations: 1.533 MB / 1.138 GB, free: 12.22 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.955e-05/1.025, allocations: 14.88 kB / 1.138 GB, free: 12.22 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/1.025, allocations: 0 / 1.138 GB, free: 12.22 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.571e-05/1.025, allocations: 7.891 kB / 1.138 GB, free: 12.22 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002332/1.027, allocations: 1.367 MB / 1.139 GB, free: 11.59 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.102e-06/1.027, allocations: 0 / 1.139 GB, free: 11.59 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008798/1.028, allocations: 201.8 kB / 1.139 GB, free: 11.57 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004729/1.029, allocations: 73.59 kB / 1.139 GB, free: 11.55 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.954e-05/1.029, allocations: 35.44 kB / 1.14 GB, free: 11.53 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002038/1.031, allocations: 1.679 MB / 1.141 GB, free: 9.965 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.616e-06/1.031, allocations: 7.906 kB / 1.141 GB, free: 9.961 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002995/1.034, allocations: 1.283 MB / 1.142 GB, free: 9.422 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006722/1.035, allocations: 360.1 kB / 1.143 GB, free: 9.168 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002105/1.035, allocations: 33.22 kB / 1.143 GB, free: 9.145 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008871/1.036, allocations: 78.44 kB / 1.143 GB, free: 9.129 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000224/1.036, allocations: 102.9 kB / 1.143 GB, free: 9.109 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001108/1.036, allocations: 51.16 kB / 1.143 GB, free: 9.102 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0009822/1.037, allocations: 0.6145 MB / 1.144 GB, free: 8.832 MB / 0.8731 GB Notification: Performance of sort global known variables: time 2.2e-07/1.037, allocations: 0 / 1.144 GB, free: 8.832 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.001394/1.039, allocations: 452.6 kB / 1.144 GB, free: 8.695 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.00149/1.04, allocations: 0.613 MB / 1.145 GB, free: 8.441 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.00384/1.044, allocations: 1.434 MB / 1.146 GB, free: 7.926 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 4.899e-06/1.044, allocations: 0 / 1.146 GB, free: 7.926 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.001282/1.045, allocations: 0.6853 MB / 1.147 GB, free: 7.613 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001577/1.047, allocations: 320.2 kB / 1.147 GB, free: 7.496 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006062/1.053, allocations: 2.65 MB / 1.15 GB, free: 6.176 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008763/1.054, allocations: 1.219 MB / 1.151 GB, free: 5.43 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006821/1.055, allocations: 159 kB / 1.151 GB, free: 5.398 MB / 0.8731 GB Notification: Performance of SimCode: time 1.553e-06/1.055, allocations: 0 / 1.151 GB, free: 5.398 MB / 0.8731 GB Notification: Performance of Templates: time 0.03847/1.093, allocations: 26.77 MB / 1.177 GB, free: 8.25 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 -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