Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.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.Examples.ZenithAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|zen.y",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|zen.y",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00176/0.001761, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001952/0.001952, allocations: 192.9 kB / 16.25 MB, free: 6.637 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.409/1.409, allocations: 222.9 MB / 239.9 MB, free: 4.508 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.333/2.333, allocations: 390.2 MB / 0.6643 GB, free: 0.5742 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001322/0.001322, allocations: 60.09 kB / 0.812 GB, free: 14.78 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6023/0.6037, allocations: 140.4 MB / 0.9491 GB, free: 9.32 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.00467/0.6084, allocations: 4.327 MB / 0.9533 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1546/0.763, allocations: 148.3 MB / 1.098 GB, free: 8.965 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008251/0.7638, allocations: 19.88 kB / 1.098 GB, free: 8.945 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0005247/0.7644, allocations: 131 kB / 1.098 GB, free: 8.816 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.00161/0.766, allocations: 454.7 kB / 1.099 GB, free: 8.375 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002033/0.7681, allocations: 0.7424 MB / 1.099 GB, free: 7.641 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001458/0.7695, allocations: 1.293 MB / 1.101 GB, free: 6.344 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009016/0.7704, allocations: 0.631 MB / 1.101 GB, free: 5.688 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006819/0.7711, allocations: 482.3 kB / 1.102 GB, free: 5.215 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005615/0.7717, allocations: 489.9 kB / 1.102 GB, free: 4.734 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001372/0.7718, allocations: 119.9 kB / 1.102 GB, free: 4.617 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008233/0.7727, allocations: 459.7 kB / 1.103 GB, free: 4.168 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002617/0.773, allocations: 311 kB / 1.103 GB, free: 3.863 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0004573/0.7734, allocations: 0.5441 MB / 1.104 GB, free: 3.316 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001805/0.7752, allocations: 1.573 MB / 1.105 GB, free: 1.738 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.002e-06/0.7753, allocations: 4 kB / 1.105 GB, free: 1.734 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.044e-06/0.7753, allocations: 3.938 kB / 1.105 GB, free: 1.73 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.84e-05/0.7753, allocations: 0 / 1.105 GB, free: 1.73 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 211 * Number of variables: 211 Notification: Performance of Generate backend data structure: time 0.002586/0.7779, allocations: 1.403 MB / 1.107 GB, free: 284 kB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.776e-05/0.7779, allocations: 12.03 kB / 1.107 GB, free: 272 kB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008884/0.7788, allocations: 179.4 kB / 1.107 GB, free: 92 kB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009389/0.7798, allocations: 0.7422 MB / 1.107 GB, free: 15.3 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.698e-05/0.7798, allocations: 65.98 kB / 1.108 GB, free: 15.24 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001074/0.78, allocations: 80 kB / 1.108 GB, free: 15.16 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001557/0.7815, allocations: 0.9184 MB / 1.109 GB, free: 14.2 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.964e-05/0.7816, allocations: 0 / 1.109 GB, free: 14.2 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.351e-05/0.7817, allocations: 36 kB / 1.109 GB, free: 14.17 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.647e-05/0.7817, allocations: 20 kB / 1.109 GB, free: 14.15 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001672/0.7834, allocations: 1.108 MB / 1.11 GB, free: 13.04 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003631/0.787, allocations: 2.519 MB / 1.112 GB, free: 10.45 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001486/0.7885, allocations: 0.887 MB / 1.113 GB, free: 9.535 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005302/0.789, allocations: 302.7 kB / 1.113 GB, free: 9.23 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 7.916e-05/0.7891, allocations: 32.61 kB / 1.113 GB, free: 9.199 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008785/0.79, allocations: 495 kB / 1.114 GB, free: 8.695 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=79): time 3.788e-06/0.79, allocations: 4 kB / 1.114 GB, free: 8.691 MB / 0.8731 GB Notification: Performance of matching and sorting (n=79): time 0.003024/0.7931, allocations: 1.19 MB / 1.115 GB, free: 7.477 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.786e-05/0.7932, allocations: 196.6 kB / 1.115 GB, free: 7.242 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007276/0.7939, allocations: 0.6291 MB / 1.116 GB, free: 6.605 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 7.891e-05/0.794, allocations: 45.7 kB / 1.116 GB, free: 6.555 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002814/0.7943, allocations: 380.4 kB / 1.116 GB, free: 6.176 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001935/0.7945, allocations: 260.3 kB / 1.116 GB, free: 5.918 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002355/0.7947, allocations: 162.5 kB / 1.117 GB, free: 5.754 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.000173/0.7949, allocations: 390.7 kB / 1.117 GB, free: 5.363 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005119/0.7954, allocations: 265.9 kB / 1.117 GB, free: 5.102 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006045/0.7961, allocations: 363.1 kB / 1.118 GB, free: 4.734 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001125/0.7972, allocations: 0.6073 MB / 1.118 GB, free: 4.113 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.62e-06/0.7972, allocations: 4.062 kB / 1.118 GB, free: 4.109 MB / 0.8731 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001892/0.7991, allocations: 0.8488 MB / 1.119 GB, free: 3.25 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.671e-05/0.7991, allocations: 4 kB / 1.119 GB, free: 3.246 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.7991, allocations: 0 / 1.119 GB, free: 3.246 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006023/0.7997, allocations: 88.8 kB / 1.119 GB, free: 3.156 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006412/0.8004, allocations: 159.8 kB / 1.119 GB, free: 3 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00206/0.8025, allocations: 1.644 MB / 1.121 GB, free: 1.207 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006804/0.8032, allocations: 91.42 kB / 1.121 GB, free: 1.117 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.195e-05/0.8032, allocations: 39.97 kB / 1.121 GB, free: 1.078 MB / 0.8731 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 17 (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,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (93): * Single equations (assignments): 92 * 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.0003989/0.8036, allocations: 271.4 kB / 1.121 GB, free: 0.8047 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001523/0.8038, allocations: 78.97 kB / 1.121 GB, free: 0.7266 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00235/0.8062, allocations: 1.065 MB / 1.122 GB, free: 15.65 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.237e-06/0.8062, allocations: 8 kB / 1.122 GB, free: 15.64 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.8062, allocations: 3.938 kB / 1.122 GB, free: 15.64 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.041e-05/0.8062, allocations: 7.984 kB / 1.122 GB, free: 15.63 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003018/0.8092, allocations: 1.946 MB / 1.124 GB, free: 13.62 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.741e-06/0.8093, allocations: 4 kB / 1.124 GB, free: 13.62 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005693/0.8098, allocations: 139.8 kB / 1.124 GB, free: 13.48 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004551/0.8103, allocations: 80.78 kB / 1.124 GB, free: 13.4 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.382e-05/0.8104, allocations: 23.98 kB / 1.124 GB, free: 13.38 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00185/0.8122, allocations: 1.677 MB / 1.126 GB, free: 11.56 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.8122, allocations: 0 / 1.126 GB, free: 11.56 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001941/0.8142, allocations: 0.9922 MB / 1.127 GB, free: 10.55 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003178/0.8145, allocations: 271.8 kB / 1.127 GB, free: 10.26 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001218/0.8147, allocations: 23.91 kB / 1.127 GB, free: 10.24 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006339/0.8153, allocations: 63.92 kB / 1.127 GB, free: 10.18 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001542/0.8155, allocations: 72.91 kB / 1.127 GB, free: 10.11 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.833e-05/0.8155, allocations: 31.97 kB / 1.127 GB, free: 10.07 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0005183/0.8161, allocations: 455 kB / 1.128 GB, free: 9.633 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.7e-07/0.8161, allocations: 0 / 1.128 GB, free: 9.633 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0007841/0.8169, allocations: 303.3 kB / 1.128 GB, free: 9.336 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: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (90): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.001284/0.8181, allocations: 0.6086 MB / 1.129 GB, free: 8.898 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.00226/0.8204, allocations: 1.03 MB / 1.13 GB, free: 7.855 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 5.3e-06/0.8204, allocations: 4.188 kB / 1.13 GB, free: 7.852 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0008881/0.8213, allocations: 0.512 MB / 1.13 GB, free: 7.324 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001173/0.8225, allocations: 291.7 kB / 1.131 GB, free: 7.066 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003813/0.8263, allocations: 2.161 MB / 1.133 GB, free: 4.879 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005605/0.8269, allocations: 1.019 MB / 1.134 GB, free: 3.832 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.000786/0.8277, allocations: 254.5 kB / 1.134 GB, free: 3.578 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002425/0.828, allocations: 99.39 kB / 1.134 GB, free: 3.48 MB / 0.8887 GB Notification: Performance of SimCode: time 4.51e-07/0.828, allocations: 4 kB / 1.134 GB, free: 3.477 MB / 0.8887 GB Notification: Performance of Templates: time 0.02265/0.8506, allocations: 14.62 MB / 1.148 GB, free: 5.012 MB / 0.9044 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.sim & ./Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches