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.001526/0.001526, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001718/0.001718, allocations: 194 kB / 16.14 MB, free: 6.699 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.411/1.411, allocations: 222.9 MB / 239.8 MB, free: 4.617 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.633/2.633, allocations: 437 MB / 0.7099 GB, free: 5.355 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001338/0.001338, allocations: 63.91 kB / 0.8685 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7157/0.7171, allocations: 151.6 MB / 1.017 GB, free: 2.824 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle): time 0.007465/0.7246, allocations: 4.943 MB / 1.021 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1693/0.8939, allocations: 148.3 MB / 1.166 GB, free: 8.984 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008255/0.8948, allocations: 15.94 kB / 1.166 GB, free: 8.969 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0007202/0.8955, allocations: 154.8 kB / 1.166 GB, free: 8.816 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.001787/0.8974, allocations: 493.2 kB / 1.167 GB, free: 8.336 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.001978/0.8994, allocations: 0.7407 MB / 1.168 GB, free: 7.602 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.001598/0.901, allocations: 1.327 MB / 1.169 GB, free: 6.27 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009876/0.902, allocations: 0.5688 MB / 1.169 GB, free: 5.684 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008573/0.9028, allocations: 442.2 kB / 1.17 GB, free: 5.25 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00106/0.9039, allocations: 495.7 kB / 1.17 GB, free: 4.766 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.000321/0.9042, allocations: 56 kB / 1.17 GB, free: 4.711 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001345/0.9056, allocations: 403.5 kB / 1.171 GB, free: 4.316 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0004552/0.9061, allocations: 239.1 kB / 1.171 GB, free: 4.082 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.000867/0.9069, allocations: 0.5166 MB / 1.172 GB, free: 3.562 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.002564/0.9095, allocations: 1.562 MB / 1.173 GB, free: 1.996 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 6.822e-06/0.9095, allocations: 0 / 1.173 GB, free: 1.996 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.213e-06/0.9095, allocations: 4 kB / 1.173 GB, free: 1.992 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.905e-05/0.9096, allocations: 0 / 1.173 GB, free: 1.992 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.003495/0.9131, allocations: 1.467 MB / 1.174 GB, free: 476 kB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.474e-05/0.9132, allocations: 8.031 kB / 1.175 GB, free: 468 kB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001112/0.9143, allocations: 191.4 kB / 1.175 GB, free: 276 kB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001471/0.9158, allocations: 0.7431 MB / 1.175 GB, free: 15.48 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.609e-05/0.9159, allocations: 69.98 kB / 1.175 GB, free: 15.41 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001374/0.916, allocations: 84 kB / 1.176 GB, free: 15.33 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001971/0.918, allocations: 0.9379 MB / 1.176 GB, free: 14.35 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.531e-05/0.918, allocations: 3.984 kB / 1.176 GB, free: 14.35 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.692e-05/0.9181, allocations: 36 kB / 1.177 GB, free: 14.31 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.095e-05/0.9182, allocations: 20 kB / 1.177 GB, free: 14.29 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001961/0.9201, allocations: 1.132 MB / 1.178 GB, free: 13.16 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.004734/0.9249, allocations: 2.751 MB / 1.18 GB, free: 10.29 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001659/0.9265, allocations: 0.915 MB / 1.181 GB, free: 9.359 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006655/0.9272, allocations: 319.1 kB / 1.182 GB, free: 9.047 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 8.133e-05/0.9273, allocations: 24.69 kB / 1.182 GB, free: 9.023 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009981/0.9283, allocations: 0.5159 MB / 1.182 GB, free: 8.48 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=84): time 2.665e-06/0.9283, allocations: 0 / 1.182 GB, free: 8.48 MB / 0.9356 GB Notification: Performance of matching and sorting (n=84): time 0.003413/0.9318, allocations: 1.255 MB / 1.183 GB, free: 7.203 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001122/0.9319, allocations: 192.9 kB / 1.183 GB, free: 6.973 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001001/0.9329, allocations: 0.6448 MB / 1.184 GB, free: 6.316 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 7.927e-05/0.933, allocations: 41.7 kB / 1.184 GB, free: 6.27 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004385/0.9334, allocations: 392.6 kB / 1.185 GB, free: 5.879 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.000233/0.9337, allocations: 276 kB / 1.185 GB, free: 5.605 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002712/0.934, allocations: 166.5 kB / 1.185 GB, free: 5.434 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001717/0.9341, allocations: 398.7 kB / 1.185 GB, free: 5.035 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005579/0.9347, allocations: 277.8 kB / 1.186 GB, free: 4.766 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006567/0.9354, allocations: 375 kB / 1.186 GB, free: 4.383 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001177/0.9366, allocations: 0.6281 MB / 1.187 GB, free: 3.742 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.9366, allocations: 0 / 1.187 GB, free: 3.742 MB / 0.9356 GB Notification: Performance of matching and sorting (n=101) (initialization): time 0.002103/0.9387, allocations: 0.8761 MB / 1.187 GB, free: 2.859 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.997e-05/0.9387, allocations: 4 kB / 1.187 GB, free: 2.855 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.152e-05/0.9387, allocations: 7.938 kB / 1.187 GB, free: 2.848 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006137/0.9394, allocations: 80.88 kB / 1.187 GB, free: 2.766 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006985/0.9401, allocations: 167.7 kB / 1.188 GB, free: 2.602 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002099/0.9422, allocations: 1.527 MB / 1.189 GB, free: 0.9375 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008536/0.943, allocations: 105.4 kB / 1.189 GB, free: 0.8359 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.729e-05/0.9431, allocations: 39.97 kB / 1.189 GB, free: 0.7969 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: 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.0005159/0.9437, allocations: 272.2 kB / 1.19 GB, free: 0.5234 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002136/0.9439, allocations: 86.91 kB / 1.19 GB, free: 448 kB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002657/0.9466, allocations: 1.144 MB / 1.191 GB, free: 15.28 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.797e-06/0.9466, allocations: 12 kB / 1.191 GB, free: 15.27 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.9466, allocations: 0 / 1.191 GB, free: 15.27 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.163e-05/0.9466, allocations: 7.922 kB / 1.191 GB, free: 15.26 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00359/0.9502, allocations: 2.016 MB / 1.193 GB, free: 13.18 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.378e-06/0.9502, allocations: 0 / 1.193 GB, free: 13.18 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006452/0.9509, allocations: 151.8 kB / 1.193 GB, free: 13.04 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005364/0.9514, allocations: 84.77 kB / 1.193 GB, free: 12.95 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.721e-05/0.9515, allocations: 31.92 kB / 1.193 GB, free: 12.92 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001881/0.9534, allocations: 1.54 MB / 1.194 GB, free: 11.23 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.9534, allocations: 3.938 kB / 1.194 GB, free: 11.23 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002208/0.9556, allocations: 1.043 MB / 1.196 GB, free: 10.17 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004518/0.9561, allocations: 279.7 kB / 1.196 GB, free: 9.879 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001754/0.9563, allocations: 27.92 kB / 1.196 GB, free: 9.852 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007542/0.957, allocations: 63.94 kB / 1.196 GB, free: 9.789 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001637/0.9572, allocations: 80.81 kB / 1.196 GB, free: 9.707 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.808e-05/0.9573, allocations: 39.98 kB / 1.196 GB, free: 9.668 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0006359/0.9579, allocations: 467 kB / 1.196 GB, free: 9.215 MB / 0.9512 GB Notification: Performance of sort global known variables: time 3e-07/0.958, allocations: 0 / 1.196 GB, free: 9.215 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0009455/0.9589, allocations: 327.3 kB / 1.197 GB, free: 8.895 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.001433/0.9603, allocations: 0.6098 MB / 1.197 GB, free: 8.457 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001828/0.9622, allocations: 0.8624 MB / 1.198 GB, free: 7.582 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.9622, allocations: 0 / 1.198 GB, free: 7.582 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.001021/0.9632, allocations: 0.5433 MB / 1.199 GB, free: 7.027 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001279/0.9645, allocations: 281.5 kB / 1.199 GB, free: 6.766 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003521/0.9681, allocations: 2.13 MB / 1.201 GB, free: 4.609 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006561/0.9687, allocations: 1.039 MB / 1.202 GB, free: 3.543 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0009131/0.9697, allocations: 270.8 kB / 1.202 GB, free: 3.273 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003233/0.97, allocations: 103.4 kB / 1.202 GB, free: 3.172 MB / 0.9512 GB Notification: Performance of SimCode: time 5.21e-07/0.97, allocations: 4 kB / 1.202 GB, free: 3.168 MB / 0.9512 GB Notification: Performance of Templates: time 0.0284/0.9984, allocations: 14.91 MB / 1.217 GB, free: 4.422 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