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.00153/0.00153, allocations: 115.3 kB / 16.42 MB, free: 6.02 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.00173/0.00173, allocations: 186.1 kB / 17.35 MB, free: 5.633 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.329/1.329, allocations: 222.9 MB / 241 MB, free: 15.16 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.263/2.263, allocations: 390.3 MB / 0.6655 GB, free: 0.6094 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001364/0.001364, allocations: 64.09 kB / 0.9515 GB, free: 7.664 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8676/0.8689, allocations: 140.4 MB / 1.089 GB, free: 5.508 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface): time 0.006176/0.8752, allocations: 5.329 MB / 1.094 GB, free: 1.727 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.1719/1.047, allocations: 151 MB / 1.241 GB, free: 15.85 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00117/1.048, allocations: 17.69 kB / 1.241 GB, free: 15.85 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0008185/1.049, allocations: 209.2 kB / 1.241 GB, free: 15.66 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.002376/1.052, allocations: 0.6407 MB / 1.242 GB, free: 15.17 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.002485/1.054, allocations: 1 MB / 1.243 GB, free: 14.4 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.002166/1.056, allocations: 1.82 MB / 1.245 GB, free: 13.26 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001597/1.058, allocations: 1.165 MB / 1.246 GB, free: 12.54 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001092/1.059, allocations: 0.7914 MB / 1.247 GB, free: 11.75 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001035/1.06, allocations: 0.8361 MB / 1.248 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0003191/1.06, allocations: 220 kB / 1.248 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001089/1.061, allocations: 0.5777 MB / 1.248 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0003895/1.062, allocations: 490.5 kB / 1.249 GB, free: 9.641 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0007291/1.063, allocations: 0.9134 MB / 1.25 GB, free: 8.723 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.002362/1.065, allocations: 2.568 MB / 1.252 GB, free: 6.148 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/1.065, allocations: 0 / 1.252 GB, free: 6.148 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.383e-06/1.065, allocations: 0 / 1.252 GB, free: 6.148 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.795e-05/1.065, allocations: 4 kB / 1.252 GB, free: 6.145 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.003414/1.068, allocations: 2.006 MB / 1.254 GB, free: 4.082 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.546e-05/1.068, allocations: 8.031 kB / 1.254 GB, free: 4.074 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001003/1.069, allocations: 254.6 kB / 1.254 GB, free: 3.824 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001307/1.071, allocations: 0.9928 MB / 1.255 GB, free: 2.789 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001389/1.071, allocations: 152.8 kB / 1.256 GB, free: 2.633 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001724/1.071, allocations: 148 kB / 1.256 GB, free: 2.488 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002572/1.074, allocations: 1.589 MB / 1.257 GB, free: 0.8438 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.512e-05/1.074, allocations: 0 / 1.257 GB, free: 0.8438 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001343/1.074, allocations: 64 kB / 1.257 GB, free: 0.7812 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.729e-05/1.074, allocations: 36 kB / 1.257 GB, free: 0.7461 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002544/1.076, allocations: 1.604 MB / 1.259 GB, free: 15.13 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006178/1.083, allocations: 4.182 MB / 1.263 GB, free: 10.88 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001898/1.085, allocations: 1.086 MB / 1.264 GB, free: 9.781 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007249/1.085, allocations: 435.7 kB / 1.264 GB, free: 9.352 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.937e-05/1.085, allocations: 41.08 kB / 1.264 GB, free: 9.312 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00122/1.087, allocations: 0.6998 MB / 1.265 GB, free: 8.59 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=111): time 3.076e-06/1.087, allocations: 0 / 1.265 GB, free: 8.59 MB / 0.9981 GB Notification: Performance of matching and sorting (n=111): time 0.003844/1.09, allocations: 1.645 MB / 1.267 GB, free: 6.922 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.357e-05/1.091, allocations: 192.9 kB / 1.267 GB, free: 6.691 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001107/1.092, allocations: 0.8492 MB / 1.268 GB, free: 5.828 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 9.16e-05/1.092, allocations: 49.7 kB / 1.268 GB, free: 5.773 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004785/1.092, allocations: 0.6206 MB / 1.268 GB, free: 5.145 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002625/1.093, allocations: 355 kB / 1.269 GB, free: 4.793 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003275/1.093, allocations: 222.7 kB / 1.269 GB, free: 4.57 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.000132/1.093, allocations: 353.9 kB / 1.269 GB, free: 4.219 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007304/1.094, allocations: 390.4 kB / 1.27 GB, free: 3.836 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008485/1.095, allocations: 0.5111 MB / 1.27 GB, free: 3.309 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001562/1.096, allocations: 0.8838 MB / 1.271 GB, free: 2.414 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/1.096, allocations: 0 / 1.271 GB, free: 2.414 MB / 0.9981 GB Notification: Performance of matching and sorting (n=137) (initialization): time 0.002521/1.099, allocations: 1.211 MB / 1.272 GB, free: 1.191 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.705e-05/1.099, allocations: 4 kB / 1.272 GB, free: 1.188 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.266e-06/1.099, allocations: 0 / 1.272 GB, free: 1.188 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006041/1.099, allocations: 88.78 kB / 1.272 GB, free: 1.098 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009972/1.1, allocations: 231.6 kB / 1.273 GB, free: 0.8711 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002118/1.103, allocations: 1.65 MB / 1.274 GB, free: 15.07 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009569/1.104, allocations: 131 kB / 1.274 GB, free: 14.95 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.369e-05/1.104, allocations: 51.95 kB / 1.274 GB, free: 14.89 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.0005666/1.104, allocations: 356.4 kB / 1.275 GB, free: 14.54 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002062/1.104, allocations: 114.7 kB / 1.275 GB, free: 14.42 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003209/1.108, allocations: 1.52 MB / 1.276 GB, free: 12.88 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.385e-05/1.108, allocations: 3.984 kB / 1.276 GB, free: 12.88 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.568e-06/1.108, allocations: 7.984 kB / 1.276 GB, free: 12.87 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005237/1.108, allocations: 355.2 kB / 1.277 GB, free: 12.5 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001747/1.108, allocations: 39.84 kB / 1.277 GB, free: 12.46 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008615/1.109, allocations: 82.41 kB / 1.277 GB, free: 12.39 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001844/1.109, allocations: 101.1 kB / 1.277 GB, free: 12.29 MB / 1.014 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002642/1.112, allocations: 1.291 MB / 1.278 GB, free: 10.99 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003052/1.115, allocations: 1.937 MB / 1.28 GB, free: 9.035 MB / 1.014 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008328/1.116, allocations: 0.5061 MB / 1.28 GB, free: 8.527 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0007749/1.117, allocations: 0.6174 MB / 1.281 GB, free: 7.898 MB / 1.014 GB Notification: Performance of Backend: time 5.31e-07/1.117, allocations: 0 / 1.281 GB, free: 7.898 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.003516/1.12, allocations: 1.459 MB / 1.282 GB, free: 6.656 MB / 1.014 GB Notification: Performance of SimCode: time 0.003863/1.124, allocations: 2.771 MB / 1.285 GB, free: 3.852 MB / 1.014 GB Notification: Performance of Templates: time 0.03368/1.158, allocations: 21.55 MB / 1.306 GB, free: 14.47 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/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