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.005082/0.005082, allocations: 101.7 kB / 15.73 MB, free: 5.59 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.001128/0.001128, allocations: 191.7 kB / 16.67 MB, free: 5.523 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.342/1.342, allocations: 222.9 MB / 240.4 MB, free: 15.15 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.269/2.269, allocations: 390.2 MB / 0.6648 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001218/0.001218, allocations: 59.91 kB / 0.9508 GB, free: 7.676 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8425/0.8437, allocations: 140.4 MB / 1.088 GB, free: 5.523 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface): time 0.007156/0.8509, allocations: 5.341 MB / 1.093 GB, free: 1.73 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.1984/1.049, allocations: 151 MB / 1.241 GB, free: 15.83 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00151/1.051, allocations: 21.53 kB / 1.241 GB, free: 15.82 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.000893/1.052, allocations: 199.7 kB / 1.241 GB, free: 15.64 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.002637/1.055, allocations: 0.6344 MB / 1.241 GB, free: 15.16 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.003144/1.058, allocations: 1.002 MB / 1.242 GB, free: 14.39 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.002402/1.06, allocations: 1.814 MB / 1.244 GB, free: 13.25 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001493/1.062, allocations: 1.165 MB / 1.245 GB, free: 12.53 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001118/1.063, allocations: 0.7792 MB / 1.246 GB, free: 11.8 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008457/1.064, allocations: 0.84 MB / 1.247 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0002316/1.064, allocations: 220 kB / 1.247 GB, free: 10.74 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001087/1.065, allocations: 0.5699 MB / 1.248 GB, free: 10.17 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0003808/1.065, allocations: 498.5 kB / 1.248 GB, free: 9.68 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0007408/1.066, allocations: 0.9095 MB / 1.249 GB, free: 8.766 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.003163/1.069, allocations: 2.568 MB / 1.251 GB, free: 6.191 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 9.257e-06/1.069, allocations: 7.984 kB / 1.251 GB, free: 6.184 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.443e-06/1.069, allocations: 7.938 kB / 1.251 GB, free: 6.176 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 3.084e-05/1.069, allocations: 0 / 1.251 GB, free: 6.176 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.003916/1.073, allocations: 1.994 MB / 1.253 GB, free: 4.125 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/1.073, allocations: 8.031 kB / 1.253 GB, free: 4.117 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001075/1.074, allocations: 254.6 kB / 1.254 GB, free: 3.867 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001622/1.076, allocations: 0.9967 MB / 1.255 GB, free: 2.828 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001596/1.076, allocations: 140.8 kB / 1.255 GB, free: 2.684 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001906/1.076, allocations: 152 kB / 1.255 GB, free: 2.535 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002772/1.079, allocations: 1.585 MB / 1.256 GB, free: 0.8945 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.242e-05/1.079, allocations: 4 kB / 1.256 GB, free: 0.8906 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001523/1.079, allocations: 71.98 kB / 1.257 GB, free: 0.8203 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.354e-05/1.079, allocations: 43.98 kB / 1.257 GB, free: 0.7773 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002661/1.082, allocations: 1.592 MB / 1.258 GB, free: 15.18 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00713/1.089, allocations: 4.19 MB / 1.262 GB, free: 10.91 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002015/1.091, allocations: 1.085 MB / 1.263 GB, free: 9.82 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007325/1.092, allocations: 431.7 kB / 1.264 GB, free: 9.395 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 9.412e-05/1.092, allocations: 45.02 kB / 1.264 GB, free: 9.352 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001232/1.093, allocations: 0.6998 MB / 1.264 GB, free: 8.629 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=111): time 2.765e-06/1.093, allocations: 0 / 1.264 GB, free: 8.629 MB / 0.9981 GB Notification: Performance of matching and sorting (n=111): time 0.004047/1.097, allocations: 1.649 MB / 1.266 GB, free: 6.957 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00012/1.098, allocations: 196.9 kB / 1.266 GB, free: 6.723 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001569/1.099, allocations: 0.8453 MB / 1.267 GB, free: 5.863 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001264/1.099, allocations: 53.7 kB / 1.267 GB, free: 5.805 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006002/1.1, allocations: 0.6167 MB / 1.268 GB, free: 5.18 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004347/1.1, allocations: 351 kB / 1.268 GB, free: 4.832 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003626/1.101, allocations: 226.7 kB / 1.268 GB, free: 4.605 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001588/1.101, allocations: 349.9 kB / 1.269 GB, free: 4.258 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007585/1.102, allocations: 394.4 kB / 1.269 GB, free: 3.871 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009899/1.103, allocations: 0.5111 MB / 1.269 GB, free: 3.344 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001781/1.104, allocations: 0.8838 MB / 1.27 GB, free: 2.449 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.586e-06/1.104, allocations: 0 / 1.27 GB, free: 2.449 MB / 0.9981 GB Notification: Performance of matching and sorting (n=137) (initialization): time 0.002765/1.107, allocations: 1.203 MB / 1.272 GB, free: 1.234 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.689e-05/1.107, allocations: 11.94 kB / 1.272 GB, free: 1.223 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.177e-06/1.107, allocations: 0 / 1.272 GB, free: 1.223 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006137/1.108, allocations: 92.77 kB / 1.272 GB, free: 1.129 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009587/1.109, allocations: 227.6 kB / 1.272 GB, free: 0.9062 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002234/1.111, allocations: 1.646 MB / 1.273 GB, free: 15.11 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001081/1.112, allocations: 130.9 kB / 1.274 GB, free: 14.98 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001002/1.112, allocations: 56.02 kB / 1.274 GB, free: 14.93 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.0007185/1.113, allocations: 352.2 kB / 1.274 GB, free: 14.57 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002401/1.113, allocations: 110.7 kB / 1.274 GB, free: 14.46 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003626/1.117, allocations: 1.532 MB / 1.276 GB, free: 12.91 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.246e-05/1.117, allocations: 12 kB / 1.276 GB, free: 12.9 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/1.117, allocations: 0 / 1.276 GB, free: 12.9 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.408e-05/1.117, allocations: 7.984 kB / 1.276 GB, free: 12.89 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001802/1.119, allocations: 1.372 MB / 1.277 GB, free: 11.47 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.074e-06/1.119, allocations: 0 / 1.277 GB, free: 11.47 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008548/1.12, allocations: 195.7 kB / 1.277 GB, free: 11.28 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004714/1.12, allocations: 72.78 kB / 1.277 GB, free: 11.21 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001103/1.12, allocations: 39.97 kB / 1.277 GB, free: 11.17 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002128/1.122, allocations: 1.67 MB / 1.279 GB, free: 9.352 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/1.122, allocations: 0 / 1.279 GB, free: 9.352 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002842/1.125, allocations: 1.285 MB / 1.28 GB, free: 8.043 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006069/1.126, allocations: 359.2 kB / 1.28 GB, free: 7.672 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002111/1.126, allocations: 39.83 kB / 1.28 GB, free: 7.633 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009211/1.127, allocations: 83.91 kB / 1.281 GB, free: 7.551 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002343/1.127, allocations: 93.17 kB / 1.281 GB, free: 7.461 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001136/1.127, allocations: 47.97 kB / 1.281 GB, free: 7.414 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0009954/1.128, allocations: 0.6213 MB / 1.281 GB, free: 6.781 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.5e-07/1.128, allocations: 4 kB / 1.281 GB, free: 6.777 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001202/1.13, allocations: 442.5 kB / 1.282 GB, free: 6.344 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.001522/1.131, allocations: 0.6207 MB / 1.282 GB, free: 5.895 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.002616/1.134, allocations: 1.15 MB / 1.283 GB, free: 4.73 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 5.34e-06/1.134, allocations: 3.938 kB / 1.283 GB, free: 4.727 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.001352/1.135, allocations: 0.6856 MB / 1.284 GB, free: 4.031 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001555/1.137, allocations: 313.9 kB / 1.284 GB, free: 3.742 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005776/1.143, allocations: 2.569 MB / 1.287 GB, free: 1.145 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001135/1.144, allocations: 1.216 MB / 1.288 GB, free: 15.89 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.001154/1.145, allocations: 313 kB / 1.288 GB, free: 15.59 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004493/1.145, allocations: 151.3 kB / 1.289 GB, free: 15.44 MB / 1.029 GB Notification: Performance of SimCode: time 1.983e-06/1.145, allocations: 0 / 1.289 GB, free: 15.44 MB / 1.029 GB Notification: Performance of Templates: time 0.03675/1.182, allocations: 19.74 MB / 1.308 GB, free: 11.86 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