Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.ZenithAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|zen.zen",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|zen.zen",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001087/0.001087, allocations: 106.1 kB / 16.36 MB, free: 6.289 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.001083/0.001083, allocations: 192.5 kB / 17.29 MB, free: 5.863 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.39/1.39, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.249/2.249, allocations: 390.3 MB / 0.6655 GB, free: 0.5742 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001273/0.001273, allocations: 61.08 kB / 0.814 GB, free: 32.74 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2946/0.2959, allocations: 140.4 MB / 0.9511 GB, free: 8.062 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle): time 0.006485/0.3024, allocations: 4.429 MB / 0.9554 GB, free: 3.617 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.617/0.9194, allocations: 150.6 MB / 1.102 GB, free: 5 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008582/0.9203, allocations: 15.69 kB / 1.102 GB, free: 5 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0005777/0.9209, allocations: 171.4 kB / 1.103 GB, free: 5 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001941/0.9229, allocations: 0.5211 MB / 1.103 GB, free: 4.988 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002164/0.925, allocations: 0.8471 MB / 1.104 GB, free: 4.977 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001749/0.9268, allocations: 1.348 MB / 1.105 GB, free: 4.855 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001022/0.9278, allocations: 0.6223 MB / 1.106 GB, free: 4.727 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009032/0.9287, allocations: 494.4 kB / 1.106 GB, free: 4.711 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006662/0.9294, allocations: 0.5075 MB / 1.107 GB, free: 4.703 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001829/0.9296, allocations: 118.1 kB / 1.107 GB, free: 4.703 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001113/0.9307, allocations: 486.8 kB / 1.107 GB, free: 4.691 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0003282/0.9311, allocations: 308.4 kB / 1.108 GB, free: 4.684 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0006505/0.9317, allocations: 0.5561 MB / 1.108 GB, free: 4.68 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.002763/0.9345, allocations: 1.627 MB / 1.11 GB, free: 4.57 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 8.957e-06/0.9345, allocations: 4.719 kB / 1.11 GB, free: 4.57 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.324e-06/0.9345, allocations: 0 / 1.11 GB, free: 4.57 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 2.264e-05/0.9346, allocations: 4 kB / 1.11 GB, free: 4.566 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: 217 * Number of variables: 217 Notification: Performance of Generate backend data structure: time 0.003551/0.9381, allocations: 1.439 MB / 1.111 GB, free: 19.79 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.433e-05/0.9382, allocations: 10.52 kB / 1.111 GB, free: 19.79 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009781/0.9392, allocations: 191.3 kB / 1.111 GB, free: 19.72 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00132/0.9405, allocations: 0.7772 MB / 1.112 GB, free: 19.38 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.796e-05/0.9406, allocations: 64.47 kB / 1.112 GB, free: 19.38 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001285/0.9407, allocations: 83.5 kB / 1.112 GB, free: 19.38 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001752/0.9425, allocations: 0.9441 MB / 1.113 GB, free: 19.21 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.082e-05/0.9425, allocations: 5.109 kB / 1.113 GB, free: 19.21 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.091e-05/0.9426, allocations: 37.44 kB / 1.113 GB, free: 19.21 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.128e-05/0.9426, allocations: 22.14 kB / 1.113 GB, free: 19.21 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001996/0.9446, allocations: 1.123 MB / 1.114 GB, free: 19.2 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004332/0.949, allocations: 2.508 MB / 1.117 GB, free: 18.39 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001554/0.9505, allocations: 0.9095 MB / 1.118 GB, free: 18.25 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005243/0.9511, allocations: 311.1 kB / 1.118 GB, free: 18.24 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 8.318e-05/0.9512, allocations: 34.19 kB / 1.118 GB, free: 18.24 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008364/0.952, allocations: 0.5089 MB / 1.119 GB, free: 18.16 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=84): time 2.354e-06/0.952, allocations: 4 kB / 1.119 GB, free: 18.16 MB / 0.8731 GB Notification: Performance of matching and sorting (n=84): time 0.00325/0.9553, allocations: 1.242 MB / 1.12 GB, free: 17.95 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000106/0.9554, allocations: 199.8 kB / 1.12 GB, free: 17.72 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008439/0.9562, allocations: 0.6416 MB / 1.121 GB, free: 17.59 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 8.003e-05/0.9563, allocations: 44.61 kB / 1.121 GB, free: 17.56 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002592/0.9566, allocations: 398.3 kB / 1.121 GB, free: 17.38 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001743/0.9568, allocations: 269.4 kB / 1.121 GB, free: 17.21 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002606/0.9571, allocations: 175.2 kB / 1.122 GB, free: 17.19 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001772/0.9572, allocations: 388.4 kB / 1.122 GB, free: 16.88 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005219/0.9578, allocations: 278.4 kB / 1.122 GB, free: 16.87 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006367/0.9584, allocations: 374.5 kB / 1.123 GB, free: 16.82 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001242/0.9597, allocations: 0.6289 MB / 1.123 GB, free: 16.76 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/0.9597, allocations: 1.094 kB / 1.123 GB, free: 16.76 MB / 0.8731 GB Notification: Performance of matching and sorting (n=101) (initialization): time 0.002045/0.9617, allocations: 0.8752 MB / 1.124 GB, free: 16.65 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.134e-05/0.9618, allocations: 5.812 kB / 1.124 GB, free: 16.65 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/0.9618, allocations: 1.062 kB / 1.124 GB, free: 16.65 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000622/0.9624, allocations: 85.64 kB / 1.124 GB, free: 16.63 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00068/0.9631, allocations: 167.9 kB / 1.124 GB, free: 16.62 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002082/0.9652, allocations: 1.621 MB / 1.126 GB, free: 15.23 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008147/0.966, allocations: 98.12 kB / 1.126 GB, free: 15.2 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.013e-05/0.9661, allocations: 42.27 kB / 1.126 GB, free: 15.19 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: 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,decAng.tNext,$PRE.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 (99): * Single equations (assignments): 98 * 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.0005281/0.9667, allocations: 277.8 kB / 1.126 GB, free: 15.06 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001711/0.9668, allocations: 83.44 kB / 1.126 GB, free: 15.02 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002429/0.9693, allocations: 1.131 MB / 1.127 GB, free: 14.9 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.133e-05/0.9693, allocations: 12.34 kB / 1.127 GB, free: 14.9 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.536e-06/0.9693, allocations: 5.094 kB / 1.127 GB, free: 14.9 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.147e-05/0.9693, allocations: 9.953 kB / 1.127 GB, free: 14.89 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003329/0.9727, allocations: 2.016 MB / 1.129 GB, free: 14.52 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.11e-06/0.9727, allocations: 2.391 kB / 1.129 GB, free: 14.52 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006137/0.9733, allocations: 157.8 kB / 1.13 GB, free: 14.51 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000431/0.9737, allocations: 76.17 kB / 1.13 GB, free: 14.5 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.189e-05/0.9738, allocations: 27.28 kB / 1.13 GB, free: 14.5 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001848/0.9757, allocations: 1.655 MB / 1.131 GB, free: 13.11 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.9757, allocations: 5.219 kB / 1.131 GB, free: 13.1 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002058/0.9777, allocations: 1.045 MB / 1.132 GB, free: 12.88 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004521/0.9782, allocations: 283.2 kB / 1.133 GB, free: 12.72 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001411/0.9784, allocations: 20.25 kB / 1.133 GB, free: 12.72 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006863/0.979, allocations: 66.77 kB / 1.133 GB, free: 12.72 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001578/0.9792, allocations: 74.59 kB / 1.133 GB, free: 12.72 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.966e-05/0.9793, allocations: 46.28 kB / 1.133 GB, free: 12.71 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.000606/0.9799, allocations: 464.5 kB / 1.133 GB, free: 12.62 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9799, allocations: 3.938 kB / 1.133 GB, free: 12.62 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.001056/0.981, allocations: 316.4 kB / 1.133 GB, free: 12.57 MB / 0.8731 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,decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 6 (decAng.tNext,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 (99): * Single equations (assignments): 92 * 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.001343/0.9823, allocations: 0.6066 MB / 1.134 GB, free: 12.34 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001742/0.9841, allocations: 0.8669 MB / 1.135 GB, free: 12.2 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.927e-06/0.9841, allocations: 1.156 kB / 1.135 GB, free: 12.2 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.000934/0.985, allocations: 0.5446 MB / 1.135 GB, free: 12.05 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001182/0.9862, allocations: 290.5 kB / 1.136 GB, free: 12.02 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003712/0.99, allocations: 1.794 MB / 1.137 GB, free: 11.38 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006527/0.9906, allocations: 1.032 MB / 1.139 GB, free: 10.66 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0009513/0.9916, allocations: 269.9 kB / 1.139 GB, free: 10.59 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002942/0.9919, allocations: 111 kB / 1.139 GB, free: 10.58 MB / 0.8731 GB Notification: Performance of SimCode: time 5.71e-07/0.9919, allocations: 4 kB / 1.139 GB, free: 10.57 MB / 0.8731 GB Notification: Performance of Templates: time 0.02927/1.021, allocations: 15.23 MB / 1.154 GB, free: 6.027 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.sim & ./Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches