Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.BaseClasses.Examples.ZenithAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|zen.zen",fileNamePrefix="Buildings_10_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_10_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.007519/0.007519, allocations: 99.34 kB / 15.73 MB, free: 6.059 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.001865/0.001865, allocations: 195 kB / 16.67 MB, free: 5.977 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.454/1.454, allocations: 222.9 MB / 240.4 MB, free: 4.324 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.71/2.71, allocations: 437 MB / 0.7105 GB, free: 5.043 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001303/0.001303, allocations: 67.89 kB / 1.019 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3841/0.3854, allocations: 151.6 MB / 1.167 GB, free: 6.855 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle): time 0.01014/0.3956, allocations: 4.937 MB / 1.171 GB, free: 1.891 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.9245/1.32, allocations: 150.6 MB / 1.319 GB, free: 10.25 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001119/1.321, allocations: 19.53 kB / 1.319 GB, free: 10.24 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0007896/1.322, allocations: 195 kB / 1.319 GB, free: 10.14 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.002149/1.324, allocations: 0.5569 MB / 1.319 GB, free: 9.891 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.002419/1.327, allocations: 0.8547 MB / 1.32 GB, free: 9.734 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.002277/1.329, allocations: 1.432 MB / 1.321 GB, free: 9.465 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001049/1.33, allocations: 0.5934 MB / 1.322 GB, free: 9.309 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009856/1.331, allocations: 0.4985 MB / 1.323 GB, free: 9.207 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000849/1.332, allocations: 0.5181 MB / 1.323 GB, free: 9.074 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.000228/1.332, allocations: 118.3 kB / 1.323 GB, free: 9.074 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001343/1.334, allocations: 493.8 kB / 1.324 GB, free: 9.035 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0003838/1.334, allocations: 300.3 kB / 1.324 GB, free: 8.98 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0007241/1.335, allocations: 0.5706 MB / 1.324 GB, free: 8.602 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.003174/1.338, allocations: 1.673 MB / 1.326 GB, free: 7.891 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.903e-06/1.338, allocations: 0.5156 kB / 1.326 GB, free: 7.891 MB / 1.014 GB Notification: Performance of FrontEnd: time 3.206e-06/1.338, allocations: 0 / 1.326 GB, free: 7.891 MB / 1.014 GB Notification: Performance of Transformations before backend: time 3.084e-05/1.338, allocations: 0 / 1.326 GB, free: 7.891 MB / 1.014 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.003297/1.341, allocations: 1.499 MB / 1.328 GB, free: 6.863 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.313e-05/1.341, allocations: 9.734 kB / 1.328 GB, free: 6.863 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00101/1.342, allocations: 191.8 kB / 1.328 GB, free: 6.797 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001405/1.344, allocations: 0.7795 MB / 1.329 GB, free: 6.289 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.332e-05/1.344, allocations: 65.05 kB / 1.329 GB, free: 6.258 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001229/1.344, allocations: 85.89 kB / 1.329 GB, free: 6.23 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001744/1.346, allocations: 0.9404 MB / 1.33 GB, free: 5.805 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.891e-05/1.346, allocations: 4 kB / 1.33 GB, free: 5.801 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.43e-05/1.346, allocations: 37.44 kB / 1.33 GB, free: 5.773 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.237e-05/1.346, allocations: 20.34 kB / 1.33 GB, free: 5.773 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001969/1.348, allocations: 1.126 MB / 1.331 GB, free: 5.512 MB / 1.014 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.004679/1.353, allocations: 2.734 MB / 1.333 GB, free: 3.852 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001602/1.354, allocations: 0.9061 MB / 1.334 GB, free: 3.438 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005562/1.355, allocations: 310.7 kB / 1.335 GB, free: 3.324 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 7.731e-05/1.355, allocations: 36.48 kB / 1.335 GB, free: 3.309 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009132/1.356, allocations: 0.51 MB / 1.335 GB, free: 3.102 MB / 1.014 GB Notification: Performance of pre-optimization done (n=84): time 2.725e-06/1.356, allocations: 3.938 kB / 1.335 GB, free: 3.098 MB / 1.014 GB Notification: Performance of matching and sorting (n=84): time 0.003434/1.359, allocations: 1.253 MB / 1.336 GB, free: 2.578 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001218/1.359, allocations: 193.6 kB / 1.337 GB, free: 2.352 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008717/1.36, allocations: 0.6482 MB / 1.337 GB, free: 2.059 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 9.092e-05/1.36, allocations: 44.08 kB / 1.337 GB, free: 2.016 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003246/1.361, allocations: 402.9 kB / 1.338 GB, free: 1.699 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002317/1.361, allocations: 287.1 kB / 1.338 GB, free: 1.477 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002607/1.361, allocations: 172.2 kB / 1.338 GB, free: 1.398 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.000173/1.361, allocations: 396.4 kB / 1.338 GB, free: 1.047 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000569/1.362, allocations: 275.3 kB / 1.339 GB, free: 0.9531 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006574/1.363, allocations: 375.8 kB / 1.339 GB, free: 0.7891 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00121/1.364, allocations: 0.6305 MB / 1.34 GB, free: 0.4961 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.035e-06/1.364, allocations: 0 / 1.34 GB, free: 0.4961 MB / 1.014 GB Notification: Performance of matching and sorting (n=101) (initialization): time 0.00216/1.366, allocations: 0.8772 MB / 1.341 GB, free: 148 kB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.093e-05/1.366, allocations: 5.531 kB / 1.341 GB, free: 148 kB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.638e-06/1.366, allocations: 3.547 kB / 1.341 GB, free: 148 kB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006104/1.367, allocations: 88.83 kB / 1.341 GB, free: 120 kB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007073/1.367, allocations: 166.1 kB / 1.341 GB, free: 108 kB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002201/1.37, allocations: 1.639 MB / 1.342 GB, free: 14.57 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009284/1.371, allocations: 92.58 kB / 1.342 GB, free: 14.53 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.716e-05/1.371, allocations: 38.97 kB / 1.343 GB, free: 14.52 MB / 1.029 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.0005189/1.371, allocations: 279.5 kB / 1.343 GB, free: 14.3 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002021/1.371, allocations: 99.66 kB / 1.343 GB, free: 14.25 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002667/1.374, allocations: 1.126 MB / 1.344 GB, free: 13.81 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.107e-05/1.374, allocations: 10.78 kB / 1.344 GB, free: 13.81 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.253e-06/1.374, allocations: 3.938 kB / 1.344 GB, free: 13.8 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.224e-05/1.374, allocations: 4.266 kB / 1.344 GB, free: 13.8 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003583/1.378, allocations: 2.02 MB / 1.346 GB, free: 12.84 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.591e-06/1.378, allocations: 1.469 kB / 1.346 GB, free: 12.84 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005992/1.378, allocations: 155.4 kB / 1.346 GB, free: 12.83 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000438/1.379, allocations: 67.94 kB / 1.346 GB, free: 12.81 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.812e-05/1.379, allocations: 32.16 kB / 1.346 GB, free: 12.8 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001925/1.381, allocations: 1.66 MB / 1.348 GB, free: 11.25 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/1.381, allocations: 0 / 1.348 GB, free: 11.25 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002235/1.383, allocations: 1.053 MB / 1.349 GB, free: 10.76 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004215/1.383, allocations: 286 kB / 1.349 GB, free: 10.55 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001487/1.384, allocations: 18.41 kB / 1.349 GB, free: 10.54 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006869/1.384, allocations: 70.23 kB / 1.349 GB, free: 10.53 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001636/1.384, allocations: 73.45 kB / 1.349 GB, free: 10.52 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.703e-05/1.385, allocations: 38.34 kB / 1.349 GB, free: 10.51 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.000601/1.385, allocations: 464.4 kB / 1.35 GB, free: 10.31 MB / 1.029 GB Notification: Performance of sort global known variables: time 2.51e-07/1.385, allocations: 4 kB / 1.35 GB, free: 10.31 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.001049/1.386, allocations: 336.4 kB / 1.35 GB, free: 10.22 MB / 1.029 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.001372/1.388, allocations: 0.618 MB / 1.351 GB, free: 9.949 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001828/1.389, allocations: 0.8656 MB / 1.352 GB, free: 9.594 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/1.389, allocations: 1.25 kB / 1.352 GB, free: 9.594 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0009851/1.39, allocations: 0.5385 MB / 1.352 GB, free: 9.344 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001311/1.392, allocations: 309.8 kB / 1.352 GB, free: 9.242 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003512/1.395, allocations: 1.726 MB / 1.354 GB, free: 8.336 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008751/1.396, allocations: 1.035 MB / 1.355 GB, free: 7.605 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.001244/1.397, allocations: 269.7 kB / 1.355 GB, free: 7.527 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003227/1.398, allocations: 115.2 kB / 1.355 GB, free: 7.504 MB / 1.029 GB Notification: Performance of SimCode: time 7.82e-07/1.398, allocations: 0 / 1.355 GB, free: 7.504 MB / 1.029 GB Notification: Performance of Templates: time 0.0262/1.424, allocations: 15.76 MB / 1.371 GB, free: 15.85 MB / 1.045 GB make -j1 -f Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.makefile (rm -f Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.sim & ./Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches