Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.002099/0.002099, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002458/0.002458, allocations: 199.2 kB / 16.14 MB, free: 6.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.53/1.53, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.768/2.768, allocations: 437 MB / 0.7099 GB, free: 5.363 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001902/0.001902, allocations: 59.89 kB / 0.8685 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7528/0.7548, allocations: 151.6 MB / 1.017 GB, free: 2.801 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface): time 0.009883/0.7647, allocations: 7.048 MB / 1.024 GB, free: 11.72 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1894/0.9542, allocations: 148.8 MB / 1.169 GB, free: 6.324 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001106/0.9553, allocations: 19.88 kB / 1.169 GB, free: 6.305 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0007567/0.9561, allocations: 194.5 kB / 1.169 GB, free: 6.113 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.002291/0.9584, allocations: 0.6588 MB / 1.17 GB, free: 5.453 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.002303/0.9607, allocations: 0.9015 MB / 1.171 GB, free: 4.562 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0024/0.9631, allocations: 1.948 MB / 1.172 GB, free: 2.605 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001578/0.9647, allocations: 1.086 MB / 1.174 GB, free: 1.477 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001118/0.9658, allocations: 0.7004 MB / 1.174 GB, free: 0.7734 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001048/0.9669, allocations: 0.8167 MB / 1.175 GB, free: 15.95 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0002448/0.9672, allocations: 112 kB / 1.175 GB, free: 15.84 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00117/0.9683, allocations: 463.6 kB / 1.176 GB, free: 15.39 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0004409/0.9688, allocations: 390.5 kB / 1.176 GB, free: 15.01 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0009645/0.9698, allocations: 0.8705 MB / 1.177 GB, free: 14.13 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.002645/0.9724, allocations: 2.531 MB / 1.179 GB, free: 11.59 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.99e-06/0.9724, allocations: 0 / 1.179 GB, free: 11.59 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.032e-06/0.9724, allocations: 4 kB / 1.179 GB, free: 11.59 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 2.799e-05/0.9725, allocations: 0 / 1.179 GB, free: 11.59 MB / 0.9356 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.00419/0.9767, allocations: 2.035 MB / 1.181 GB, free: 9.5 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.886e-05/0.9767, allocations: 15.97 kB / 1.181 GB, free: 9.484 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001132/0.9779, allocations: 262.5 kB / 1.182 GB, free: 9.227 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00152/0.9794, allocations: 0.9657 MB / 1.182 GB, free: 8.219 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000169/0.9796, allocations: 148.8 kB / 1.183 GB, free: 8.066 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001958/0.9798, allocations: 155.9 kB / 1.183 GB, free: 7.914 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003046/0.9828, allocations: 1.589 MB / 1.184 GB, free: 6.27 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.741e-05/0.9829, allocations: 0 / 1.184 GB, free: 6.27 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000144/0.983, allocations: 68 kB / 1.184 GB, free: 6.203 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.517e-05/0.9831, allocations: 36 kB / 1.184 GB, free: 6.168 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002869/0.986, allocations: 1.596 MB / 1.186 GB, free: 4.566 MB / 0.9356 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007995/0.994, allocations: 4.724 MB / 1.191 GB, free: 15.65 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002113/0.9961, allocations: 1.098 MB / 1.192 GB, free: 14.54 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008543/0.997, allocations: 435.7 kB / 1.192 GB, free: 14.11 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001059/0.9971, allocations: 41.08 kB / 1.192 GB, free: 14.07 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00143/0.9985, allocations: 0.7035 MB / 1.193 GB, free: 13.35 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=111): time 2.515e-06/0.9985, allocations: 3.938 kB / 1.193 GB, free: 13.34 MB / 0.9512 GB Notification: Performance of matching and sorting (n=111): time 0.004284/1.003, allocations: 1.653 MB / 1.194 GB, free: 11.67 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001366/1.003, allocations: 196.9 kB / 1.195 GB, free: 11.43 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00133/1.004, allocations: 0.8414 MB / 1.195 GB, free: 10.58 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.0001077/1.004, allocations: 49.7 kB / 1.195 GB, free: 10.52 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006337/1.005, allocations: 0.6245 MB / 1.196 GB, free: 9.891 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003456/1.005, allocations: 350.9 kB / 1.196 GB, free: 9.543 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003978/1.006, allocations: 230.7 kB / 1.197 GB, free: 9.309 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001737/1.006, allocations: 345.9 kB / 1.197 GB, free: 8.965 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007947/1.007, allocations: 406.4 kB / 1.197 GB, free: 8.57 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009285/1.008, allocations: 0.5072 MB / 1.198 GB, free: 8.043 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001683/1.009, allocations: 0.8877 MB / 1.199 GB, free: 7.141 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.342e-06/1.009, allocations: 4.062 kB / 1.199 GB, free: 7.137 MB / 0.9512 GB Notification: Performance of matching and sorting (n=137) (initialization): time 0.002921/1.012, allocations: 1.211 MB / 1.2 GB, free: 5.914 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 4.022e-05/1.012, allocations: 7.984 kB / 1.2 GB, free: 5.906 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.411e-05/1.012, allocations: 0 / 1.2 GB, free: 5.906 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006876/1.013, allocations: 84.84 kB / 1.2 GB, free: 5.82 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001051/1.014, allocations: 227.7 kB / 1.2 GB, free: 5.598 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002564/1.017, allocations: 1.558 MB / 1.202 GB, free: 3.906 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001475/1.018, allocations: 137.2 kB / 1.202 GB, free: 3.773 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001302/1.018, allocations: 52.14 kB / 1.202 GB, free: 3.723 MB / 0.9512 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.00108/1.02, allocations: 356.2 kB / 1.202 GB, free: 3.367 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003259/1.02, allocations: 110.7 kB / 1.202 GB, free: 3.258 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003538/1.023, allocations: 1.532 MB / 1.204 GB, free: 1.711 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.621e-05/1.023, allocations: 12 kB / 1.204 GB, free: 1.699 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.666e-06/1.023, allocations: 4 kB / 1.204 GB, free: 1.695 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.485e-05/1.023, allocations: 11.98 kB / 1.204 GB, free: 1.684 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00197/1.025, allocations: 1.373 MB / 1.205 GB, free: 264 kB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.049e-06/1.025, allocations: 0 / 1.205 GB, free: 264 kB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008684/1.026, allocations: 199.7 kB / 1.205 GB, free: 64 kB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005862/1.027, allocations: 84.77 kB / 1.205 GB, free: 15.98 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.021e-05/1.027, allocations: 35.91 kB / 1.206 GB, free: 15.94 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002092/1.029, allocations: 1.555 MB / 1.207 GB, free: 14.25 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/1.029, allocations: 0 / 1.207 GB, free: 14.25 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002848/1.032, allocations: 1.289 MB / 1.208 GB, free: 12.94 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006462/1.033, allocations: 363.1 kB / 1.209 GB, free: 12.56 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001897/1.033, allocations: 35.91 kB / 1.209 GB, free: 12.53 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009335/1.034, allocations: 91.89 kB / 1.209 GB, free: 12.44 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002307/1.034, allocations: 97.11 kB / 1.209 GB, free: 12.34 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001079/1.034, allocations: 51.97 kB / 1.209 GB, free: 12.29 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0009847/1.035, allocations: 0.6174 MB / 1.21 GB, free: 11.66 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.4e-07/1.035, allocations: 0 / 1.21 GB, free: 11.66 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.001305/1.036, allocations: 482.5 kB / 1.21 GB, free: 11.19 MB / 0.9669 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.002049/1.039, allocations: 0.6082 MB / 1.211 GB, free: 10.75 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.00249/1.041, allocations: 1.146 MB / 1.212 GB, free: 9.59 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/1.041, allocations: 0 / 1.212 GB, free: 9.59 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.001293/1.042, allocations: 0.6777 MB / 1.212 GB, free: 8.902 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001504/1.044, allocations: 317 kB / 1.213 GB, free: 8.598 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005374/1.049, allocations: 3.194 MB / 1.216 GB, free: 5.371 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000964/1.05, allocations: 1.216 MB / 1.217 GB, free: 4.125 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.001197/1.051, allocations: 317.3 kB / 1.217 GB, free: 3.812 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004178/1.052, allocations: 147.3 kB / 1.217 GB, free: 3.668 MB / 0.9669 GB Notification: Performance of SimCode: time 1.122e-06/1.052, allocations: 0 / 1.217 GB, free: 3.668 MB / 0.9669 GB Notification: Performance of Templates: time 0.03848/1.09, allocations: 19.74 MB / 1.237 GB, free: 132 kB / 0.9825 GB make -j1 -f Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.makefile (rm -f Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.sim & ./Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches