Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|zen.y",fileNamePrefix="Buildings_10_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.001622/0.001622, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001594/0.001594, allocations: 198.1 kB / 16.14 MB, free: 6.719 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.478/1.478, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.712/2.712, allocations: 437 MB / 0.7099 GB, free: 5.281 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002539/0.002539, allocations: 63.89 kB / 0.8686 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6887/0.6912, allocations: 151.6 MB / 1.017 GB, free: 2.719 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.007846/0.6991, allocations: 4.83 MB / 1.021 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1879/0.8871, allocations: 148.3 MB / 1.166 GB, free: 9.016 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001055/0.8882, allocations: 15.94 kB / 1.166 GB, free: 9 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0006873/0.889, allocations: 146.8 kB / 1.166 GB, free: 8.855 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.001845/0.8908, allocations: 480.8 kB / 1.167 GB, free: 8.391 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.002104/0.8929, allocations: 0.7264 MB / 1.167 GB, free: 7.668 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.001717/0.8947, allocations: 1.284 MB / 1.169 GB, free: 6.379 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001045/0.8957, allocations: 0.5788 MB / 1.169 GB, free: 5.781 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007988/0.8965, allocations: 410.3 kB / 1.17 GB, free: 5.379 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000724/0.8973, allocations: 481.8 kB / 1.17 GB, free: 4.906 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0001376/0.8974, allocations: 60 kB / 1.17 GB, free: 4.848 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001072/0.8985, allocations: 399.6 kB / 1.171 GB, free: 4.457 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0002992/0.8988, allocations: 231.1 kB / 1.171 GB, free: 4.23 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.00059/0.8994, allocations: 0.501 MB / 1.171 GB, free: 3.727 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.001919/0.9013, allocations: 1.554 MB / 1.173 GB, free: 2.168 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.9013, allocations: 0 / 1.173 GB, free: 2.168 MB / 0.92 GB Notification: Performance of FrontEnd: time 8.31e-07/0.9014, allocations: 0 / 1.173 GB, free: 2.168 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.811e-05/0.9014, allocations: 0 / 1.173 GB, free: 2.168 MB / 0.92 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.002819/0.9042, allocations: 1.414 MB / 1.174 GB, free: 0.6953 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.216e-05/0.9043, allocations: 12.03 kB / 1.174 GB, free: 0.6836 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009983/0.9053, allocations: 183.4 kB / 1.174 GB, free: 0.5039 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001166/0.9065, allocations: 0.7385 MB / 1.175 GB, free: 15.72 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.003e-05/0.9065, allocations: 58 kB / 1.175 GB, free: 15.66 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000124/0.9067, allocations: 88 kB / 1.175 GB, free: 15.58 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001668/0.9083, allocations: 0.9145 MB / 1.176 GB, free: 14.62 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.998e-05/0.9084, allocations: 0 / 1.176 GB, free: 14.62 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.577e-05/0.9085, allocations: 36 kB / 1.176 GB, free: 14.59 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.269e-05/0.9085, allocations: 23.98 kB / 1.176 GB, free: 14.56 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001911/0.9104, allocations: 1.108 MB / 1.177 GB, free: 13.46 MB / 0.9356 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004648/0.9151, allocations: 2.736 MB / 1.18 GB, free: 10.6 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001634/0.9167, allocations: 0.8871 MB / 1.181 GB, free: 9.695 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005705/0.9173, allocations: 306.7 kB / 1.181 GB, free: 9.395 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 8.101e-05/0.9174, allocations: 28.59 kB / 1.181 GB, free: 9.367 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001011/0.9184, allocations: 0.4991 MB / 1.182 GB, free: 8.848 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=79): time 2.114e-06/0.9184, allocations: 0 / 1.182 GB, free: 8.848 MB / 0.9356 GB Notification: Performance of matching and sorting (n=79): time 0.003483/0.9219, allocations: 1.194 MB / 1.183 GB, free: 7.625 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000136/0.9221, allocations: 188.6 kB / 1.183 GB, free: 7.398 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009443/0.923, allocations: 0.6253 MB / 1.184 GB, free: 6.766 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 7.684e-05/0.9231, allocations: 41.7 kB / 1.184 GB, free: 6.719 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003824/0.9235, allocations: 384.4 kB / 1.184 GB, free: 6.336 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002635/0.9238, allocations: 260.3 kB / 1.184 GB, free: 6.078 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002821/0.9241, allocations: 162.5 kB / 1.184 GB, free: 5.91 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.000222/0.9243, allocations: 394.7 kB / 1.185 GB, free: 5.516 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005623/0.9249, allocations: 261.9 kB / 1.185 GB, free: 5.262 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000655/0.9255, allocations: 363.1 kB / 1.185 GB, free: 4.891 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001147/0.9267, allocations: 0.6073 MB / 1.186 GB, free: 4.273 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.9267, allocations: 0 / 1.186 GB, free: 4.273 MB / 0.9356 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.002115/0.9288, allocations: 0.8448 MB / 1.187 GB, free: 3.422 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 4.338e-05/0.9289, allocations: 8 kB / 1.187 GB, free: 3.414 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.003e-05/0.9289, allocations: 0 / 1.187 GB, free: 3.414 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006586/0.9295, allocations: 92.78 kB / 1.187 GB, free: 3.32 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006699/0.9302, allocations: 159.8 kB / 1.187 GB, free: 3.164 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002302/0.9325, allocations: 1.539 MB / 1.189 GB, free: 1.48 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008493/0.9334, allocations: 87.45 kB / 1.189 GB, free: 1.395 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.387e-05/0.9335, allocations: 35.97 kB / 1.189 GB, free: 1.359 MB / 0.9356 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.0005412/0.934, allocations: 272.4 kB / 1.189 GB, free: 1.086 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001852/0.9342, allocations: 83 kB / 1.189 GB, free: 1.004 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002505/0.9367, allocations: 1.062 MB / 1.19 GB, free: 15.92 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.485e-05/0.9368, allocations: 12 kB / 1.19 GB, free: 15.91 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.9368, allocations: 0 / 1.19 GB, free: 15.91 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.046e-05/0.9368, allocations: 3.984 kB / 1.19 GB, free: 15.9 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003519/0.9403, allocations: 1.97 MB / 1.192 GB, free: 13.88 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.558e-06/0.9403, allocations: 0 / 1.192 GB, free: 13.88 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005967/0.9409, allocations: 151.8 kB / 1.192 GB, free: 13.73 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005615/0.9415, allocations: 76.77 kB / 1.192 GB, free: 13.65 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.44e-05/0.9416, allocations: 31.98 kB / 1.192 GB, free: 13.62 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00215/0.9438, allocations: 1.548 MB / 1.194 GB, free: 11.93 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.9438, allocations: 0 / 1.194 GB, free: 11.93 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002308/0.9461, allocations: 0.996 MB / 1.195 GB, free: 10.91 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004739/0.9466, allocations: 275.7 kB / 1.195 GB, free: 10.62 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001395/0.9467, allocations: 23.98 kB / 1.195 GB, free: 10.6 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006675/0.9474, allocations: 69.22 kB / 1.195 GB, free: 10.53 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001836/0.9476, allocations: 68.89 kB / 1.195 GB, free: 10.46 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.36e-05/0.9477, allocations: 31.98 kB / 1.195 GB, free: 10.43 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0006563/0.9483, allocations: 459 kB / 1.196 GB, free: 9.992 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.31e-07/0.9483, allocations: 0 / 1.196 GB, free: 9.992 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.000993/0.9493, allocations: 319.2 kB / 1.196 GB, free: 9.68 MB / 0.9512 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.001972/0.9513, allocations: 0.6039 MB / 1.196 GB, free: 9.254 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001857/0.9532, allocations: 0.8275 MB / 1.197 GB, free: 8.414 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 7.454e-06/0.9532, allocations: 4 kB / 1.197 GB, free: 8.41 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.001019/0.9542, allocations: 0.5157 MB / 1.198 GB, free: 7.887 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001402/0.9557, allocations: 278.8 kB / 1.198 GB, free: 7.617 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003692/0.9594, allocations: 2.042 MB / 1.2 GB, free: 5.555 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000719/0.9601, allocations: 1.023 MB / 1.201 GB, free: 4.508 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0009664/0.9611, allocations: 258.6 kB / 1.201 GB, free: 4.25 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002803/0.9614, allocations: 107.4 kB / 1.201 GB, free: 4.145 MB / 0.9512 GB Notification: Performance of SimCode: time 1.102e-06/0.9614, allocations: 3.938 kB / 1.201 GB, free: 4.141 MB / 0.9512 GB Notification: Performance of Templates: time 0.02819/0.9896, allocations: 14.51 MB / 1.216 GB, free: 5.789 MB / 0.9669 GB make -j1 -f Buildings_10_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.makefile (rm -f Buildings_10_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.sim & ./Buildings_10_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches