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.001687/0.001687, 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.002953/0.002954, allocations: 189.2 kB / 16.25 MB, free: 6.633 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.453/1.453, allocations: 222.9 MB / 239.9 MB, free: 4.527 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.617/2.617, allocations: 437 MB / 0.71 GB, free: 5.266 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001281/0.001281, allocations: 63.91 kB / 0.8687 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6525/0.6538, allocations: 151.6 MB / 1.017 GB, free: 2.746 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle): time 0.006234/0.6601, allocations: 4.936 MB / 1.022 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1583/0.8184, allocations: 148.4 MB / 1.167 GB, free: 8.828 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001056/0.8195, allocations: 19.88 kB / 1.167 GB, free: 8.809 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0005979/0.8201, allocations: 154.8 kB / 1.167 GB, free: 8.656 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.001685/0.8219, allocations: 0.4898 MB / 1.167 GB, free: 8.168 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.001816/0.8237, allocations: 0.7609 MB / 1.168 GB, free: 7.414 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.001694/0.8254, allocations: 1.425 MB / 1.169 GB, free: 5.984 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001107/0.8265, allocations: 0.5832 MB / 1.17 GB, free: 5.383 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001139/0.8277, allocations: 0.4943 MB / 1.17 GB, free: 4.887 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007675/0.8284, allocations: 0.5212 MB / 1.171 GB, free: 4.363 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.000218/0.8287, allocations: 116 kB / 1.171 GB, free: 4.25 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001326/0.83, allocations: 471.6 kB / 1.171 GB, free: 3.789 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0003761/0.8304, allocations: 303 kB / 1.172 GB, free: 3.492 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0008103/0.8312, allocations: 0.5752 MB / 1.172 GB, free: 2.914 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.003028/0.8343, allocations: 1.624 MB / 1.174 GB, free: 1.285 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 9.278e-06/0.8343, allocations: 0 / 1.174 GB, free: 1.285 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.914e-06/0.8343, allocations: 0 / 1.174 GB, free: 1.285 MB / 0.92 GB Notification: Performance of Transformations before backend: time 2.737e-05/0.8344, allocations: 0 / 1.174 GB, free: 1.285 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: 217 * Number of variables: 217 Notification: Performance of Generate backend data structure: time 0.004375/0.8387, allocations: 1.456 MB / 1.175 GB, free: 15.76 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 6.608e-05/0.8388, allocations: 8.031 kB / 1.175 GB, free: 15.75 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001548/0.8404, allocations: 187.3 kB / 1.175 GB, free: 15.57 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001706/0.8421, allocations: 0.7507 MB / 1.176 GB, free: 14.78 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.992e-05/0.8422, allocations: 69.98 kB / 1.176 GB, free: 14.71 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001752/0.8424, allocations: 88 kB / 1.176 GB, free: 14.63 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002561/0.845, allocations: 0.9417 MB / 1.177 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.655e-05/0.845, allocations: 3.938 kB / 1.177 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001253/0.8451, allocations: 36 kB / 1.177 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.628e-05/0.8452, allocations: 20 kB / 1.177 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002834/0.848, allocations: 1.128 MB / 1.178 GB, free: 12.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.006977/0.855, allocations: 2.747 MB / 1.181 GB, free: 9.594 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00294/0.858, allocations: 0.9098 MB / 1.182 GB, free: 8.664 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001055/0.8591, allocations: 310.8 kB / 1.182 GB, free: 8.359 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001416/0.8592, allocations: 36.61 kB / 1.182 GB, free: 8.324 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001862/0.8611, allocations: 0.5197 MB / 1.183 GB, free: 7.777 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=84): time 4.909e-06/0.8611, allocations: 0 / 1.183 GB, free: 7.777 MB / 0.9356 GB Notification: Performance of matching and sorting (n=84): time 0.006144/0.8673, allocations: 1.247 MB / 1.184 GB, free: 6.508 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001999/0.8675, allocations: 204.8 kB / 1.184 GB, free: 6.266 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001763/0.8693, allocations: 0.641 MB / 1.185 GB, free: 5.617 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0001371/0.8695, allocations: 45.7 kB / 1.185 GB, free: 5.566 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006158/0.8701, allocations: 392.5 kB / 1.185 GB, free: 5.176 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004608/0.8706, allocations: 280 kB / 1.186 GB, free: 4.898 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005465/0.8712, allocations: 162.5 kB / 1.186 GB, free: 4.73 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0003204/0.8715, allocations: 390.7 kB / 1.186 GB, free: 4.34 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001078/0.8726, allocations: 277.8 kB / 1.186 GB, free: 4.07 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001255/0.8739, allocations: 379.1 kB / 1.187 GB, free: 3.684 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002263/0.8762, allocations: 0.6242 MB / 1.187 GB, free: 3.047 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.072e-06/0.8762, allocations: 7.938 kB / 1.187 GB, free: 3.039 MB / 0.9356 GB Notification: Performance of matching and sorting (n=101) (initialization): time 0.003961/0.8802, allocations: 0.8799 MB / 1.188 GB, free: 2.152 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.922e-05/0.8802, allocations: 4 kB / 1.188 GB, free: 2.148 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.563e-05/0.8802, allocations: 3.938 kB / 1.188 GB, free: 2.145 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001046/0.8813, allocations: 76.88 kB / 1.188 GB, free: 2.066 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001375/0.8827, allocations: 171.8 kB / 1.188 GB, free: 1.898 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003824/0.8865, allocations: 1.632 MB / 1.19 GB, free: 124 kB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001531/0.8881, allocations: 99.28 kB / 1.19 GB, free: 24 kB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002018/0.8883, allocations: 39.97 kB / 1.19 GB, free: 15.98 MB / 0.9512 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.000898/0.8892, allocations: 272.3 kB / 1.19 GB, free: 15.71 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004409/0.8897, allocations: 86.97 kB / 1.191 GB, free: 15.62 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005056/0.8948, allocations: 1.132 MB / 1.192 GB, free: 14.48 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.36e-05/0.8948, allocations: 15.94 kB / 1.192 GB, free: 14.46 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.785e-06/0.8948, allocations: 4 kB / 1.192 GB, free: 14.46 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.411e-05/0.8949, allocations: 11.95 kB / 1.192 GB, free: 14.45 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006701/0.9016, allocations: 2.02 MB / 1.194 GB, free: 12.36 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.897e-06/0.9016, allocations: 0 / 1.194 GB, free: 12.36 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001214/0.9028, allocations: 151.8 kB / 1.194 GB, free: 12.21 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008911/0.9038, allocations: 76.73 kB / 1.194 GB, free: 12.14 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00013/0.9039, allocations: 31.97 kB / 1.194 GB, free: 12.11 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003546/0.9075, allocations: 1.658 MB / 1.195 GB, free: 10.3 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/0.9075, allocations: 0 / 1.195 GB, free: 10.3 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004427/0.9119, allocations: 1.043 MB / 1.197 GB, free: 9.238 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008947/0.9129, allocations: 283.7 kB / 1.197 GB, free: 8.941 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003187/0.9132, allocations: 19.98 kB / 1.197 GB, free: 8.922 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001447/0.9147, allocations: 66.19 kB / 1.197 GB, free: 8.859 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003443/0.915, allocations: 84.88 kB / 1.197 GB, free: 8.773 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001515/0.9152, allocations: 35.98 kB / 1.197 GB, free: 8.738 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.001236/0.9165, allocations: 463 kB / 1.197 GB, free: 8.293 MB / 0.9512 GB Notification: Performance of sort global known variables: time 5.31e-07/0.9165, allocations: 0 / 1.197 GB, free: 8.293 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.001809/0.9183, allocations: 335.2 kB / 1.198 GB, free: 7.965 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: 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.002634/0.921, allocations: 0.6116 MB / 1.198 GB, free: 7.527 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.004964/0.9259, allocations: 1.089 MB / 1.199 GB, free: 6.426 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 5.24e-06/0.926, allocations: 0 / 1.199 GB, free: 6.426 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.001876/0.9279, allocations: 0.5354 MB / 1.2 GB, free: 5.879 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002505/0.9304, allocations: 309.5 kB / 1.2 GB, free: 5.594 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005942/0.9363, allocations: 2.122 MB / 1.202 GB, free: 3.445 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001047/0.9374, allocations: 1.032 MB / 1.203 GB, free: 2.387 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.001966/0.9394, allocations: 270.8 kB / 1.204 GB, free: 2.117 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005553/0.94, allocations: 111.4 kB / 1.204 GB, free: 2.008 MB / 0.9512 GB Notification: Performance of SimCode: time 9.61e-07/0.94, allocations: 3.938 kB / 1.204 GB, free: 2.004 MB / 0.9512 GB Notification: Performance of Templates: time 0.04106/0.9811, allocations: 15.49 MB / 1.219 GB, free: 2.691 MB / 0.9669 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