Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001525/0.001525, allocations: 99.19 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.001602/0.001603, allocations: 193.5 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.341/1.341, 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 11.0.0-master/package.mo): time 2.478/2.478, allocations: 442.6 MB / 0.7165 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001202/0.001202, allocations: 71.67 kB / 0.8773 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2858/0.287, allocations: 153 MB / 1.027 GB, free: 2.066 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface): time 0.008121/0.2952, allocations: 7.059 MB / 1.034 GB, free: 10.98 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.6828/0.978, allocations: 151.1 MB / 1.181 GB, free: 4.75 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009971/0.9791, allocations: 18.03 kB / 1.181 GB, free: 4.746 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0006758/0.9798, allocations: 263.3 kB / 1.181 GB, free: 4.562 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.002392/0.9822, allocations: 0.776 MB / 1.182 GB, free: 3.969 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.002579/0.9848, allocations: 1.014 MB / 1.183 GB, free: 3.211 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.002695/0.9875, allocations: 2.098 MB / 1.185 GB, free: 1.91 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001474/0.989, allocations: 1.112 MB / 1.186 GB, free: 1.23 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001209/0.9902, allocations: 0.8103 MB / 1.187 GB, free: 0.7344 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009551/0.9912, allocations: 0.8922 MB / 1.188 GB, free: 88 kB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0002641/0.9915, allocations: 219.9 kB / 1.188 GB, free: 88 kB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001119/0.9926, allocations: 0.5672 MB / 1.189 GB, free: 15.91 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0003799/0.993, allocations: 495.7 kB / 1.189 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0008185/0.9938, allocations: 0.9703 MB / 1.19 GB, free: 14.8 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.002497/0.9963, allocations: 2.67 MB / 1.193 GB, free: 12.83 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.9963, allocations: 0 / 1.193 GB, free: 12.83 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.623e-06/0.9963, allocations: 1.375 kB / 1.193 GB, free: 12.83 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 2.307e-05/0.9964, allocations: 0 / 1.193 GB, free: 12.83 MB / 0.9044 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.003678/1, allocations: 2.04 MB / 1.195 GB, free: 11.28 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.786e-05/1, allocations: 9.875 kB / 1.195 GB, free: 11.28 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009765/1.001, allocations: 258.1 kB / 1.195 GB, free: 11.15 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001465/1.003, allocations: 0.9951 MB / 1.196 GB, free: 10.35 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001547/1.003, allocations: 145.6 kB / 1.196 GB, free: 10.26 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001677/1.003, allocations: 150.5 kB / 1.196 GB, free: 10.21 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002424/1.005, allocations: 1.588 MB / 1.198 GB, free: 9.23 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.83e-05/1.005, allocations: 2.375 kB / 1.198 GB, free: 9.23 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001262/1.006, allocations: 70.48 kB / 1.198 GB, free: 9.176 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.783e-05/1.006, allocations: 40.88 kB / 1.198 GB, free: 9.176 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002405/1.008, allocations: 1.6 MB / 1.2 GB, free: 8.395 MB / 0.9044 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.006524/1.014, allocations: 4.676 MB / 1.204 GB, free: 4.652 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001847/1.016, allocations: 1.096 MB / 1.205 GB, free: 4.09 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007009/1.017, allocations: 431.4 kB / 1.206 GB, free: 3.871 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 9.478e-05/1.017, allocations: 40.44 kB / 1.206 GB, free: 3.848 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001196/1.018, allocations: 0.6978 MB / 1.206 GB, free: 3.41 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=111): time 5.23e-06/1.018, allocations: 3.984 kB / 1.206 GB, free: 3.406 MB / 0.9044 GB Notification: Performance of matching and sorting (n=111): time 0.003923/1.022, allocations: 1.66 MB / 1.208 GB, free: 2.516 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001005/1.022, allocations: 193.9 kB / 1.208 GB, free: 2.297 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001048/1.023, allocations: 0.8461 MB / 1.209 GB, free: 1.812 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 8.689e-05/1.024, allocations: 56.95 kB / 1.209 GB, free: 1.762 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004407/1.024, allocations: 0.6173 MB / 1.21 GB, free: 1.215 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002556/1.024, allocations: 347.6 kB / 1.21 GB, free: 0.9102 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003229/1.025, allocations: 228.2 kB / 1.21 GB, free: 0.7695 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.000114/1.025, allocations: 347.4 kB / 1.21 GB, free: 444 kB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006876/1.025, allocations: 396.7 kB / 1.211 GB, free: 244 kB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008421/1.026, allocations: 0.519 MB / 1.211 GB, free: 15.77 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001543/1.028, allocations: 0.8877 MB / 1.212 GB, free: 14.87 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-06/1.028, allocations: 0 / 1.212 GB, free: 14.87 MB / 0.92 GB Notification: Performance of matching and sorting (n=137) (initialization): time 0.002512/1.03, allocations: 1.211 MB / 1.213 GB, free: 13.64 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/1.03, allocations: 8 kB / 1.213 GB, free: 13.64 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.857e-06/1.03, allocations: 0 / 1.213 GB, free: 13.64 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006036/1.031, allocations: 84.75 kB / 1.213 GB, free: 13.55 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009646/1.032, allocations: 231.7 kB / 1.214 GB, free: 13.33 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002054/1.034, allocations: 1.65 MB / 1.215 GB, free: 11.54 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001058/1.035, allocations: 131 kB / 1.215 GB, free: 11.41 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.635e-05/1.035, allocations: 51.95 kB / 1.215 GB, free: 11.36 MB / 0.92 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.0006185/1.036, allocations: 360.3 kB / 1.216 GB, free: 11 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002083/1.036, allocations: 110.6 kB / 1.216 GB, free: 10.89 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003141/1.039, allocations: 1.53 MB / 1.217 GB, free: 9.352 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.105e-05/1.039, allocations: 12 kB / 1.217 GB, free: 9.34 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.976e-06/1.039, allocations: 0 / 1.217 GB, free: 9.34 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.216e-05/1.039, allocations: 3.984 kB / 1.217 GB, free: 9.336 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00158/1.041, allocations: 1.377 MB / 1.219 GB, free: 7.906 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.859e-06/1.041, allocations: 0 / 1.219 GB, free: 7.906 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007942/1.042, allocations: 199.7 kB / 1.219 GB, free: 7.711 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004308/1.042, allocations: 72.78 kB / 1.219 GB, free: 7.637 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.71e-05/1.042, allocations: 35.97 kB / 1.219 GB, free: 7.602 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001836/1.044, allocations: 1.662 MB / 1.221 GB, free: 5.793 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.849e-06/1.044, allocations: 7.875 kB / 1.221 GB, free: 5.785 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00247/1.047, allocations: 1.273 MB / 1.222 GB, free: 4.488 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006395/1.047, allocations: 363.2 kB / 1.222 GB, free: 4.113 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001747/1.047, allocations: 39.83 kB / 1.222 GB, free: 4.074 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008133/1.048, allocations: 76.06 kB / 1.222 GB, free: 4 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001891/1.048, allocations: 104.8 kB / 1.223 GB, free: 3.898 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001047/1.049, allocations: 60.02 kB / 1.223 GB, free: 3.84 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0007755/1.049, allocations: 0.6174 MB / 1.223 GB, free: 3.211 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.11e-07/1.049, allocations: 0 / 1.223 GB, free: 3.211 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.001121/1.05, allocations: 478.5 kB / 1.224 GB, free: 2.742 MB / 0.92 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.001286/1.052, allocations: 0.6195 MB / 1.224 GB, free: 2.301 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.002107/1.054, allocations: 1.154 MB / 1.225 GB, free: 1.137 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/1.054, allocations: 0 / 1.225 GB, free: 1.137 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.001129/1.055, allocations: 0.6818 MB / 1.226 GB, free: 452 kB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001205/1.056, allocations: 344 kB / 1.226 GB, free: 128 kB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003954/1.06, allocations: 2.46 MB / 1.229 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007312/1.061, allocations: 1.228 MB / 1.23 GB, free: 12.38 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0009309/1.062, allocations: 317.3 kB / 1.23 GB, free: 12.07 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003601/1.062, allocations: 139.4 kB / 1.23 GB, free: 11.93 MB / 0.9356 GB Notification: Performance of SimCode: time 3.51e-07/1.062, allocations: 0 / 1.23 GB, free: 11.93 MB / 0.9356 GB Notification: Performance of Templates: time 0.0318/1.094, allocations: 20.63 MB / 1.251 GB, free: 7.504 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.sim & ./Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches