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.001889/0.001889, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002189/0.002189, allocations: 192.6 kB / 16.53 MB, free: 6.664 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.476/1.476, allocations: 222.9 MB / 240.2 MB, free: 4.391 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.827/2.827, allocations: 437 MB / 0.7104 GB, free: 5.145 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001943/0.001943, allocations: 64.12 kB / 0.8692 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5696/0.5716, allocations: 151.6 MB / 1.017 GB, free: 2.617 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.006971/0.5786, allocations: 4.818 MB / 1.022 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1992/0.7779, allocations: 150.6 MB / 1.169 GB, free: 6.59 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007217/0.7786, allocations: 19.88 kB / 1.169 GB, free: 6.57 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.000551/0.7792, allocations: 190.3 kB / 1.169 GB, free: 6.383 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.001776/0.781, allocations: 0.5395 MB / 1.17 GB, free: 5.844 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.002085/0.7831, allocations: 0.8292 MB / 1.171 GB, free: 5.02 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.001568/0.7847, allocations: 1.378 MB / 1.172 GB, free: 3.637 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009451/0.7856, allocations: 0.592 MB / 1.173 GB, free: 3.027 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006879/0.7863, allocations: 478.3 kB / 1.173 GB, free: 2.559 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006527/0.787, allocations: 0.5018 MB / 1.173 GB, free: 2.055 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0001691/0.7872, allocations: 116 kB / 1.174 GB, free: 1.941 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008749/0.788, allocations: 463.6 kB / 1.174 GB, free: 1.488 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0003079/0.7884, allocations: 291.1 kB / 1.174 GB, free: 1.203 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0005561/0.7889, allocations: 0.5636 MB / 1.175 GB, free: 0.6367 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.001863/0.7908, allocations: 1.608 MB / 1.176 GB, free: 15.02 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.7908, allocations: 0 / 1.176 GB, free: 15.02 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.733e-06/0.7908, allocations: 3.938 kB / 1.176 GB, free: 15.02 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 2.149e-05/0.7909, allocations: 0 / 1.176 GB, free: 15.02 MB / 0.9356 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.002622/0.7935, allocations: 1.422 MB / 1.178 GB, free: 13.54 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.672e-05/0.7935, allocations: 12.03 kB / 1.178 GB, free: 13.52 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009393/0.7945, allocations: 183.4 kB / 1.178 GB, free: 13.34 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001086/0.7956, allocations: 0.7306 MB / 1.179 GB, free: 12.57 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.685e-05/0.7956, allocations: 66 kB / 1.179 GB, free: 12.5 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001389/0.7958, allocations: 76 kB / 1.179 GB, free: 12.43 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001613/0.7974, allocations: 0.9261 MB / 1.18 GB, free: 11.46 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.949e-05/0.7974, allocations: 0 / 1.18 GB, free: 11.46 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.704e-05/0.7975, allocations: 32 kB / 1.18 GB, free: 11.43 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.935e-05/0.7976, allocations: 20 kB / 1.18 GB, free: 11.41 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001907/0.7995, allocations: 1.116 MB / 1.181 GB, free: 10.3 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.004317/0.8038, allocations: 2.728 MB / 1.184 GB, free: 7.453 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001708/0.8055, allocations: 0.8968 MB / 1.184 GB, free: 6.535 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005904/0.8061, allocations: 306.7 kB / 1.185 GB, free: 6.234 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 7.899e-05/0.8062, allocations: 28.61 kB / 1.185 GB, free: 6.207 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009244/0.8072, allocations: 495.1 kB / 1.185 GB, free: 5.703 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=79): time 2.395e-06/0.8072, allocations: 0 / 1.185 GB, free: 5.703 MB / 0.9356 GB Notification: Performance of matching and sorting (n=79): time 0.003313/0.8105, allocations: 1.19 MB / 1.186 GB, free: 4.484 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001344/0.8106, allocations: 200.5 kB / 1.187 GB, free: 4.246 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008463/0.8115, allocations: 0.6292 MB / 1.187 GB, free: 3.605 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 6.77e-05/0.8116, allocations: 41.7 kB / 1.187 GB, free: 3.559 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.000361/0.8119, allocations: 384.4 kB / 1.188 GB, free: 3.176 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.000235/0.8122, allocations: 260.3 kB / 1.188 GB, free: 2.918 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002663/0.8125, allocations: 162.5 kB / 1.188 GB, free: 2.75 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0002048/0.8127, allocations: 386.7 kB / 1.188 GB, free: 2.363 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005906/0.8133, allocations: 261.9 kB / 1.189 GB, free: 2.109 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006789/0.814, allocations: 371.1 kB / 1.189 GB, free: 1.734 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001212/0.8152, allocations: 0.5994 MB / 1.19 GB, free: 1.125 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.8152, allocations: 0 / 1.19 GB, free: 1.125 MB / 0.9356 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.002125/0.8173, allocations: 0.8527 MB / 1.19 GB, free: 268 kB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.123e-05/0.8174, allocations: 4 kB / 1.19 GB, free: 264 kB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.135e-06/0.8174, allocations: 0 / 1.19 GB, free: 264 kB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006262/0.818, allocations: 88.8 kB / 1.19 GB, free: 172 kB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006525/0.8187, allocations: 155.8 kB / 1.191 GB, free: 16 kB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002387/0.8211, allocations: 1.658 MB / 1.192 GB, free: 14.21 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000715/0.8218, allocations: 91.39 kB / 1.192 GB, free: 14.12 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.294e-05/0.8219, allocations: 35.97 kB / 1.192 GB, free: 14.08 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: 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.0004295/0.8223, allocations: 267.4 kB / 1.193 GB, free: 13.81 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000175/0.8225, allocations: 83.05 kB / 1.193 GB, free: 13.73 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002564/0.8251, allocations: 1.061 MB / 1.194 GB, free: 12.66 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.095e-05/0.8251, allocations: 12 kB / 1.194 GB, free: 12.64 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.8251, allocations: 3.938 kB / 1.194 GB, free: 12.64 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.236e-05/0.8251, allocations: 3.984 kB / 1.194 GB, free: 12.64 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003449/0.8286, allocations: 1.966 MB / 1.196 GB, free: 10.61 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.917e-06/0.8286, allocations: 0 / 1.196 GB, free: 10.61 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005905/0.8292, allocations: 139.8 kB / 1.196 GB, free: 10.48 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004632/0.8297, allocations: 76.78 kB / 1.196 GB, free: 10.4 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.757e-05/0.8297, allocations: 23.98 kB / 1.196 GB, free: 10.38 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002166/0.8319, allocations: 1.674 MB / 1.198 GB, free: 8.551 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.8319, allocations: 3.938 kB / 1.198 GB, free: 8.547 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002138/0.8341, allocations: 0.9844 MB / 1.199 GB, free: 7.539 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003899/0.8345, allocations: 271.7 kB / 1.199 GB, free: 7.254 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001295/0.8346, allocations: 24 kB / 1.199 GB, free: 7.23 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006688/0.8353, allocations: 63.92 kB / 1.199 GB, free: 7.168 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001529/0.8354, allocations: 68.84 kB / 1.199 GB, free: 7.102 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.203e-05/0.8355, allocations: 39.97 kB / 1.199 GB, free: 7.062 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0006313/0.8362, allocations: 451 kB / 1.199 GB, free: 6.625 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.51e-07/0.8362, allocations: 0 / 1.199 GB, free: 6.625 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0008804/0.8371, allocations: 323.2 kB / 1.2 GB, free: 6.309 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.001918/0.839, allocations: 0.6103 MB / 1.2 GB, free: 5.875 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.002524/0.8415, allocations: 1.022 MB / 1.201 GB, free: 4.84 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.8415, allocations: 192 / 1.201 GB, free: 4.84 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.001004/0.8425, allocations: 0.5158 MB / 1.202 GB, free: 4.312 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001285/0.8438, allocations: 309.7 kB / 1.202 GB, free: 4.031 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002993/0.8468, allocations: 1.638 MB / 1.204 GB, free: 2.367 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007185/0.8476, allocations: 1.023 MB / 1.205 GB, free: 1.316 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0008575/0.8484, allocations: 258.6 kB / 1.205 GB, free: 1.059 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002613/0.8487, allocations: 107.4 kB / 1.205 GB, free: 0.9531 MB / 0.9512 GB Notification: Performance of SimCode: time 4.91e-07/0.8487, allocations: 0 / 1.205 GB, free: 0.9531 MB / 0.9512 GB Notification: Performance of Templates: time 0.02911/0.8778, allocations: 15.16 MB / 1.22 GB, free: 1.965 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