Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.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.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|walSolAzi.verAzi",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth") translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|walSolAzi.verAzi",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001313/0.001313, allocations: 108 kB / 15.61 MB, free: 148 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001417/0.001417, allocations: 194.4 kB / 16.53 MB, free: 6.664 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.379/1.379, allocations: 222.9 MB / 240.2 MB, free: 4.367 MB / 190.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.447/2.447, allocations: 390.2 MB / 0.6646 GB, free: 440 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001349/0.001349, allocations: 60.09 kB / 0.8125 GB, free: 14.46 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6603/0.6616, allocations: 140.4 MB / 0.9496 GB, free: 9.168 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth): time 0.005181/0.6668, allocations: 4.613 MB / 0.9541 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1762/0.8431, allocations: 150.7 MB / 1.101 GB, free: 5.984 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001509/0.8446, allocations: 19.88 kB / 1.101 GB, free: 5.965 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001369/0.846, allocations: 178.3 kB / 1.101 GB, free: 5.789 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.003324/0.8495, allocations: 0.5591 MB / 1.102 GB, free: 5.23 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002746/0.8522, allocations: 0.8686 MB / 1.103 GB, free: 4.367 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.002341/0.8546, allocations: 1.437 MB / 1.104 GB, free: 2.926 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001299/0.8559, allocations: 0.7105 MB / 1.105 GB, free: 2.191 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001102/0.857, allocations: 0.5372 MB / 1.105 GB, free: 1.652 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00109/0.8581, allocations: 0.5679 MB / 1.106 GB, free: 1.082 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0004073/0.8585, allocations: 136 kB / 1.106 GB, free: 0.9492 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001506/0.86, allocations: 0.4918 MB / 1.107 GB, free: 468 kB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0004747/0.8605, allocations: 338.9 kB / 1.107 GB, free: 128 kB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0008746/0.8614, allocations: 0.6295 MB / 1.108 GB, free: 15.49 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.002571/0.864, allocations: 1.776 MB / 1.109 GB, free: 13.71 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.864, allocations: 0 / 1.109 GB, free: 13.71 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.613e-06/0.864, allocations: 0 / 1.109 GB, free: 13.71 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 5.01e-05/0.8641, allocations: 0 / 1.109 GB, free: 13.71 MB / 0.8731 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 255 * Number of variables: 255 Notification: Performance of Generate backend data structure: time 0.00318/0.8673, allocations: 1.556 MB / 1.111 GB, free: 12.1 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.392e-05/0.8673, allocations: 8.031 kB / 1.111 GB, free: 12.09 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00096/0.8683, allocations: 203.2 kB / 1.111 GB, free: 11.89 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001112/0.8694, allocations: 0.7973 MB / 1.112 GB, free: 11.05 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.425e-05/0.8695, allocations: 82.02 kB / 1.112 GB, free: 10.96 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001223/0.8696, allocations: 99.94 kB / 1.112 GB, free: 10.87 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001742/0.8714, allocations: 1.063 MB / 1.113 GB, free: 9.738 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.433e-05/0.8714, allocations: 4 kB / 1.113 GB, free: 9.734 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.091e-05/0.8715, allocations: 40 kB / 1.113 GB, free: 9.695 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.023e-05/0.8715, allocations: 24 kB / 1.113 GB, free: 9.672 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001878/0.8734, allocations: 1.225 MB / 1.114 GB, free: 8.445 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004403/0.8778, allocations: 2.921 MB / 1.117 GB, free: 5.453 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001551/0.8794, allocations: 0.886 MB / 1.118 GB, free: 4.566 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000573/0.88, allocations: 347.6 kB / 1.118 GB, free: 4.219 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 8.159e-05/0.8801, allocations: 37.02 kB / 1.118 GB, free: 4.184 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009959/0.8811, allocations: 0.5469 MB / 1.119 GB, free: 3.625 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=92): time 2.434e-06/0.8811, allocations: 4 kB / 1.119 GB, free: 3.621 MB / 0.8731 GB Notification: Performance of matching and sorting (n=92): time 0.00341/0.8845, allocations: 1.333 MB / 1.12 GB, free: 2.258 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001085/0.8846, allocations: 196.9 kB / 1.12 GB, free: 2.023 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008311/0.8855, allocations: 0.6802 MB / 1.121 GB, free: 1.34 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 6.8e-05/0.8856, allocations: 45.7 kB / 1.121 GB, free: 1.289 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003464/0.8859, allocations: 440.3 kB / 1.122 GB, free: 0.8516 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002213/0.8861, allocations: 299.8 kB / 1.122 GB, free: 0.5547 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002634/0.8864, allocations: 182.4 kB / 1.122 GB, free: 380 kB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001891/0.8866, allocations: 398.7 kB / 1.122 GB, free: 15.97 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005677/0.8872, allocations: 305.8 kB / 1.123 GB, free: 15.67 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006774/0.8879, allocations: 407 kB / 1.123 GB, free: 15.26 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001223/0.8891, allocations: 0.6866 MB / 1.124 GB, free: 14.56 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.8891, allocations: 0 / 1.124 GB, free: 14.56 MB / 0.8887 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.002136/0.8913, allocations: 0.9502 MB / 1.125 GB, free: 13.61 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.175e-05/0.8913, allocations: 4 kB / 1.125 GB, free: 13.6 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.606e-06/0.8913, allocations: 0 / 1.125 GB, free: 13.6 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006072/0.8919, allocations: 88.83 kB / 1.125 GB, free: 13.51 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007456/0.8927, allocations: 187.7 kB / 1.125 GB, free: 13.33 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002212/0.8949, allocations: 1.634 MB / 1.126 GB, free: 11.55 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008161/0.8957, allocations: 107 kB / 1.127 GB, free: 11.44 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.913e-05/0.8958, allocations: 39.97 kB / 1.127 GB, free: 11.4 MB / 0.8887 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 20 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,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,incAng.decAng.tNext,$PRE.incAng.decAng.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (109): * Single equations (assignments): 108 * 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.0004966/0.8963, allocations: 283.9 kB / 1.127 GB, free: 11.11 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002014/0.8965, allocations: 90.88 kB / 1.127 GB, free: 11.02 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002704/0.8993, allocations: 1.231 MB / 1.128 GB, free: 9.773 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.526e-06/0.8993, allocations: 8 kB / 1.128 GB, free: 9.766 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.796e-06/0.8993, allocations: 0 / 1.128 GB, free: 9.766 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.415e-05/0.8993, allocations: 11.97 kB / 1.128 GB, free: 9.754 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001141/0.9005, allocations: 1.013 MB / 1.129 GB, free: 8.691 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.2e-06/0.9005, allocations: 3.938 kB / 1.129 GB, free: 8.688 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006547/0.9011, allocations: 167.7 kB / 1.129 GB, free: 8.523 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004452/0.9016, allocations: 72.8 kB / 1.129 GB, free: 8.449 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.428e-05/0.9017, allocations: 31.97 kB / 1.129 GB, free: 8.418 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0019/0.9036, allocations: 1.662 MB / 1.131 GB, free: 6.605 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.9036, allocations: 0 / 1.131 GB, free: 6.605 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002117/0.9057, allocations: 1.041 MB / 1.132 GB, free: 5.547 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004203/0.9061, allocations: 299.5 kB / 1.132 GB, free: 5.234 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001514/0.9063, allocations: 23.98 kB / 1.132 GB, free: 5.211 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007/0.907, allocations: 66.28 kB / 1.132 GB, free: 5.148 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001706/0.9072, allocations: 84.88 kB / 1.133 GB, free: 5.062 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.868e-05/0.9073, allocations: 43.97 kB / 1.133 GB, free: 5.02 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0006295/0.9079, allocations: 491 kB / 1.133 GB, free: 4.547 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9079, allocations: 0 / 1.133 GB, free: 4.547 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0009792/0.9089, allocations: 363.1 kB / 1.133 GB, free: 4.191 MB / 0.8887 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,incAng.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 6 (incAng.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (107): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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.001578/0.9105, allocations: 0.6373 MB / 1.134 GB, free: 3.727 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.002782/0.9133, allocations: 1.159 MB / 1.135 GB, free: 2.555 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 7.084e-06/0.9133, allocations: 192 / 1.135 GB, free: 2.555 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.001038/0.9144, allocations: 0.5782 MB / 1.136 GB, free: 1.965 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001312/0.9157, allocations: 303.4 kB / 1.136 GB, free: 1.688 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005715/0.9214, allocations: 1.975 MB / 1.138 GB, free: 15.68 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008135/0.9223, allocations: 1.071 MB / 1.139 GB, free: 14.59 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.001236/0.9235, allocations: 279.4 kB / 1.139 GB, free: 14.31 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003736/0.9239, allocations: 123.4 kB / 1.139 GB, free: 14.19 MB / 0.9044 GB Notification: Performance of SimCode: time 1.103e-06/0.9239, allocations: 0 / 1.139 GB, free: 14.19 MB / 0.9044 GB Notification: Performance of Templates: time 0.03168/0.9556, allocations: 16.37 MB / 1.155 GB, free: 13.99 MB / 0.92 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.sim & ./Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_WallSolarAzimuth.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches