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.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.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.001217/0.001217, allocations: 106.1 kB / 15.99 MB, free: 6.355 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.001205/0.001205, allocations: 192.5 kB / 16.91 MB, free: 6.191 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.311/1.311, allocations: 222.9 MB / 240.6 MB, free: 13.74 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.159/2.159, allocations: 390.2 MB / 0.665 GB, free: 0.9023 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001303/0.001303, allocations: 63.91 kB / 0.8127 GB, free: 32.48 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.289/0.2903, allocations: 140.4 MB / 0.9498 GB, free: 9.262 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle): time 0.006404/0.2968, allocations: 4.442 MB / 0.9541 GB, free: 4.797 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.7307/1.028, allocations: 148.3 MB / 1.099 GB, free: 5.305 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009651/1.029, allocations: 19.31 kB / 1.099 GB, free: 5.305 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0006648/1.029, allocations: 141.4 kB / 1.099 GB, free: 5.305 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001849/1.031, allocations: 465.6 kB / 1.1 GB, free: 5.293 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002054/1.033, allocations: 0.7442 MB / 1.1 GB, free: 5.281 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.002157/1.035, allocations: 1.346 MB / 1.102 GB, free: 5.27 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001087/1.036, allocations: 0.625 MB / 1.102 GB, free: 5.145 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001222/1.038, allocations: 496.8 kB / 1.103 GB, free: 5.145 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000833/1.039, allocations: 0.5046 MB / 1.103 GB, free: 5.145 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0002164/1.039, allocations: 121.9 kB / 1.103 GB, free: 5.141 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001169/1.04, allocations: 460.6 kB / 1.104 GB, free: 5.129 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0003211/1.04, allocations: 305.4 kB / 1.104 GB, free: 5.129 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0006181/1.041, allocations: 0.5581 MB / 1.105 GB, free: 5.129 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001823/1.043, allocations: 1.223 MB / 1.106 GB, free: 5.035 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.66e-06/1.043, allocations: 1.25 kB / 1.106 GB, free: 5.035 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.643e-06/1.043, allocations: 0 / 1.106 GB, free: 5.035 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 3.543e-05/1.043, allocations: 0 / 1.106 GB, free: 5.035 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.003302/1.046, allocations: 1.444 MB / 1.107 GB, free: 20.27 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.084e-05/1.046, allocations: 10.33 kB / 1.107 GB, free: 20.27 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009968/1.047, allocations: 186.6 kB / 1.107 GB, free: 20.2 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001155/1.048, allocations: 0.755 MB / 1.108 GB, free: 19.87 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.765e-05/1.048, allocations: 66.19 kB / 1.108 GB, free: 19.86 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001506/1.049, allocations: 88.14 kB / 1.108 GB, free: 19.86 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002001/1.051, allocations: 0.9454 MB / 1.109 GB, free: 19.7 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.234e-05/1.051, allocations: 1.203 kB / 1.109 GB, free: 19.7 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.631e-05/1.051, allocations: 40.55 kB / 1.109 GB, free: 19.7 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.31e-05/1.051, allocations: 21.12 kB / 1.109 GB, free: 19.7 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001976/1.053, allocations: 1.123 MB / 1.11 GB, free: 19.69 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004403/1.057, allocations: 2.536 MB / 1.113 GB, free: 18.86 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001511/1.059, allocations: 0.9071 MB / 1.114 GB, free: 18.72 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005403/1.059, allocations: 310.9 kB / 1.114 GB, free: 18.71 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 9.11e-05/1.059, allocations: 37.75 kB / 1.114 GB, free: 18.71 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001002/1.06, allocations: 0.5105 MB / 1.115 GB, free: 18.63 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=84): time 2.785e-06/1.06, allocations: 0 / 1.115 GB, free: 18.63 MB / 0.8731 GB Notification: Performance of matching and sorting (n=84): time 0.003364/1.064, allocations: 1.246 MB / 1.116 GB, free: 18.41 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001184/1.064, allocations: 191.2 kB / 1.116 GB, free: 18.19 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009974/1.065, allocations: 0.6471 MB / 1.117 GB, free: 18.06 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0001045/1.065, allocations: 44.58 kB / 1.117 GB, free: 18.03 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002892/1.065, allocations: 405.3 kB / 1.117 GB, free: 17.84 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001789/1.065, allocations: 265 kB / 1.117 GB, free: 17.68 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002592/1.066, allocations: 175.3 kB / 1.117 GB, free: 17.66 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001687/1.066, allocations: 389.4 kB / 1.118 GB, free: 17.34 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005098/1.066, allocations: 275.3 kB / 1.118 GB, free: 17.34 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006145/1.067, allocations: 376.9 kB / 1.118 GB, free: 17.29 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001104/1.068, allocations: 0.6276 MB / 1.119 GB, free: 17.23 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/1.068, allocations: 4 kB / 1.119 GB, free: 17.22 MB / 0.8731 GB Notification: Performance of matching and sorting (n=101) (initialization): time 0.002294/1.07, allocations: 0.8741 MB / 1.12 GB, free: 17.11 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.482e-05/1.07, allocations: 6.25 kB / 1.12 GB, free: 17.11 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.016e-05/1.07, allocations: 0 / 1.12 GB, free: 17.11 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006254/1.071, allocations: 89.92 kB / 1.12 GB, free: 17.09 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007029/1.072, allocations: 167.4 kB / 1.12 GB, free: 17.08 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002101/1.074, allocations: 1.623 MB / 1.122 GB, free: 15.69 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009668/1.075, allocations: 94.61 kB / 1.122 GB, free: 15.66 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.624e-05/1.075, allocations: 43.3 kB / 1.122 GB, free: 15.65 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.0005952/1.076, allocations: 275.4 kB / 1.122 GB, free: 15.52 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002004/1.076, allocations: 84.23 kB / 1.122 GB, free: 15.48 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002509/1.078, allocations: 1.135 MB / 1.123 GB, free: 15.36 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.077e-05/1.078, allocations: 9.5 kB / 1.123 GB, free: 15.36 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.137e-06/1.078, allocations: 3.938 kB / 1.123 GB, free: 15.35 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.102e-05/1.078, allocations: 7.156 kB / 1.123 GB, free: 15.35 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003392/1.082, allocations: 2.032 MB / 1.125 GB, free: 14.97 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.202e-06/1.082, allocations: 0 / 1.125 GB, free: 14.97 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006238/1.082, allocations: 155 kB / 1.125 GB, free: 14.96 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004514/1.083, allocations: 75.25 kB / 1.126 GB, free: 14.95 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.35e-05/1.083, allocations: 26.47 kB / 1.126 GB, free: 14.95 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001969/1.085, allocations: 1.66 MB / 1.127 GB, free: 13.55 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/1.085, allocations: 0 / 1.127 GB, free: 13.55 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002356/1.087, allocations: 1.041 MB / 1.128 GB, free: 13.33 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000515/1.088, allocations: 287.1 kB / 1.128 GB, free: 13.17 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001547/1.088, allocations: 20.52 kB / 1.128 GB, free: 13.17 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007261/1.089, allocations: 69.2 kB / 1.129 GB, free: 13.17 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001966/1.089, allocations: 74.72 kB / 1.129 GB, free: 13.16 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.271e-05/1.089, allocations: 37.61 kB / 1.129 GB, free: 13.16 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.000635/1.09, allocations: 466.8 kB / 1.129 GB, free: 13.07 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.6e-07/1.09, allocations: 0 / 1.129 GB, free: 13.07 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.00115/1.091, allocations: 313.6 kB / 1.129 GB, free: 13.03 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.001391/1.092, allocations: 0.6272 MB / 1.13 GB, free: 12.79 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.002583/1.095, allocations: 1.073 MB / 1.131 GB, free: 12.63 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 6.492e-06/1.095, allocations: 5.406 kB / 1.131 GB, free: 12.62 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0009742/1.096, allocations: 0.5421 MB / 1.132 GB, free: 12.49 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00145/1.097, allocations: 296.8 kB / 1.132 GB, free: 12.45 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004123/1.101, allocations: 2.279 MB / 1.134 GB, free: 11.32 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006529/1.102, allocations: 1.027 MB / 1.135 GB, free: 10.61 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004353/1.103, allocations: 128.5 kB / 1.135 GB, free: 10.6 MB / 0.8731 GB Notification: Performance of SimCode: time 1.904e-06/1.103, allocations: 0 / 1.135 GB, free: 10.6 MB / 0.8731 GB Notification: Performance of Templates: time 0.02841/1.131, allocations: 18.76 MB / 1.154 GB, free: 4.801 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 -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