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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001629/0.001629, allocations: 113.2 kB / 16.37 MB, free: 6.012 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.001715/0.001715, allocations: 191.2 kB / 17.31 MB, free: 5.613 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.379/1.379, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.389/2.389, allocations: 437.1 MB / 0.7112 GB, free: 4.348 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001258/0.001258, allocations: 62.16 kB / 0.8707 GB, free: 1.43 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2862/0.2875, allocations: 151.6 MB / 1.019 GB, free: 9.844 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.006303/0.2939, allocations: 4.827 MB / 1.023 GB, free: 4.988 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.6662/0.9601, allocations: 150.6 MB / 1.171 GB, free: 228 kB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007396/0.9609, allocations: 15.75 kB / 1.171 GB, free: 224 kB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0005435/0.9615, allocations: 193.8 kB / 1.171 GB, free: 96 kB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.001523/0.963, allocations: 0.5456 MB / 1.171 GB, free: 15.78 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.001804/0.9648, allocations: 0.8443 MB / 1.172 GB, free: 15.34 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.001412/0.9662, allocations: 1.373 MB / 1.173 GB, free: 14.63 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000845/0.9671, allocations: 0.5912 MB / 1.174 GB, free: 14.32 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007159/0.9678, allocations: 482.7 kB / 1.174 GB, free: 14.08 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005697/0.9684, allocations: 0.4996 MB / 1.175 GB, free: 13.82 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0001544/0.9686, allocations: 117.2 kB / 1.175 GB, free: 13.82 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009725/0.9695, allocations: 494.8 kB / 1.176 GB, free: 13.7 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0002654/0.9698, allocations: 298.5 kB / 1.176 GB, free: 13.51 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0004828/0.9703, allocations: 0.5541 MB / 1.176 GB, free: 13.14 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.001704/0.972, allocations: 1.643 MB / 1.178 GB, free: 12 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.648e-06/0.972, allocations: 0 / 1.178 GB, free: 12 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.734e-06/0.9721, allocations: 0 / 1.178 GB, free: 12 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.827e-05/0.9721, allocations: 1.125 kB / 1.178 GB, free: 12 MB / 0.8887 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.002477/0.9746, allocations: 1.418 MB / 1.179 GB, free: 10.88 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.166e-05/0.9746, allocations: 10.52 kB / 1.179 GB, free: 10.88 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009131/0.9755, allocations: 187.6 kB / 1.18 GB, free: 10.79 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001136/0.9767, allocations: 0.7517 MB / 1.18 GB, free: 10.17 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.15e-05/0.9767, allocations: 63.28 kB / 1.18 GB, free: 10.14 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001059/0.9769, allocations: 82.34 kB / 1.18 GB, free: 10.11 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001507/0.9784, allocations: 0.9241 MB / 1.181 GB, free: 9.512 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.832e-05/0.9784, allocations: 0 / 1.181 GB, free: 9.512 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.466e-05/0.9785, allocations: 41.95 kB / 1.181 GB, free: 9.48 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.145e-05/0.9785, allocations: 19.69 kB / 1.181 GB, free: 9.48 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001731/0.9803, allocations: 1.106 MB / 1.182 GB, free: 8.957 MB / 0.8887 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.003892/0.9842, allocations: 2.706 MB / 1.185 GB, free: 6.777 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001449/0.9856, allocations: 0.885 MB / 1.186 GB, free: 6.281 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004878/0.9861, allocations: 302.1 kB / 1.186 GB, free: 6.129 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 7.723e-05/0.9862, allocations: 34.98 kB / 1.186 GB, free: 6.109 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007736/0.987, allocations: 0.4884 MB / 1.187 GB, free: 5.789 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=79): time 2.154e-06/0.987, allocations: 0 / 1.187 GB, free: 5.789 MB / 0.8887 GB Notification: Performance of matching and sorting (n=79): time 0.002969/0.99, allocations: 1.191 MB / 1.188 GB, free: 5.145 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.894e-05/0.9901, allocations: 192.6 kB / 1.188 GB, free: 4.918 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000754/0.9908, allocations: 0.6223 MB / 1.189 GB, free: 4.551 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 5.839e-05/0.9909, allocations: 39.17 kB / 1.189 GB, free: 4.512 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002678/0.9912, allocations: 396.1 kB / 1.189 GB, free: 4.164 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001769/0.9914, allocations: 264.9 kB / 1.189 GB, free: 3.934 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002208/0.9916, allocations: 158.3 kB / 1.19 GB, free: 3.84 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.00014/0.9917, allocations: 388.3 kB / 1.19 GB, free: 3.469 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000489/0.9922, allocations: 273.9 kB / 1.19 GB, free: 3.332 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005738/0.9928, allocations: 366.6 kB / 1.191 GB, free: 3.117 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00104/0.9939, allocations: 0.603 MB / 1.191 GB, free: 2.793 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.9939, allocations: 0 / 1.191 GB, free: 2.793 MB / 0.8887 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001799/0.9957, allocations: 0.8449 MB / 1.192 GB, free: 2.367 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.685e-05/0.9957, allocations: 4.25 kB / 1.192 GB, free: 2.367 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.335e-06/0.9957, allocations: 8.078 kB / 1.192 GB, free: 2.359 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005898/0.9963, allocations: 81.41 kB / 1.192 GB, free: 2.32 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006118/0.997, allocations: 157.5 kB / 1.192 GB, free: 2.281 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002061/0.999, allocations: 1.652 MB / 1.194 GB, free: 0.6602 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007073/0.9998, allocations: 89.14 kB / 1.194 GB, free: 0.6016 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.623e-05/0.9998, allocations: 31.55 kB / 1.194 GB, free: 0.5938 MB / 0.8887 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.0003881/1, allocations: 278 kB / 1.194 GB, free: 384 kB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001413/1, allocations: 78.28 kB / 1.194 GB, free: 344 kB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002226/1.003, allocations: 1.065 MB / 1.195 GB, free: 15.74 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.264e-06/1.003, allocations: 10.38 kB / 1.195 GB, free: 15.74 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.856e-06/1.003, allocations: 1.125 kB / 1.195 GB, free: 15.74 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.294e-05/1.003, allocations: 11.91 kB / 1.195 GB, free: 15.73 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002987/1.006, allocations: 1.956 MB / 1.197 GB, free: 14.42 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.368e-06/1.006, allocations: 0 / 1.197 GB, free: 14.42 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005369/1.006, allocations: 144.3 kB / 1.197 GB, free: 14.39 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004226/1.007, allocations: 74.84 kB / 1.197 GB, free: 14.35 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.786e-05/1.007, allocations: 26.95 kB / 1.197 GB, free: 14.33 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001766/1.008, allocations: 1.667 MB / 1.199 GB, free: 12.7 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/1.008, allocations: 0 / 1.199 GB, free: 12.7 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001858/1.01, allocations: 0.9924 MB / 1.2 GB, free: 12.14 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003933/1.011, allocations: 271.4 kB / 1.2 GB, free: 11.9 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001197/1.011, allocations: 23.73 kB / 1.2 GB, free: 11.88 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006159/1.012, allocations: 65.69 kB / 1.2 GB, free: 11.85 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001364/1.012, allocations: 73.52 kB / 1.2 GB, free: 11.81 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.961e-05/1.012, allocations: 28.61 kB / 1.201 GB, free: 11.8 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0005194/1.012, allocations: 457.1 kB / 1.201 GB, free: 11.55 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.363e-06/1.012, allocations: 3.938 kB / 1.201 GB, free: 11.54 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0008737/1.013, allocations: 323.9 kB / 1.201 GB, free: 11.45 MB / 0.9044 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.0013/1.014, allocations: 0.5993 MB / 1.202 GB, free: 11.17 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.001548/1.016, allocations: 0.8306 MB / 1.203 GB, free: 10.73 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/1.016, allocations: 0 / 1.203 GB, free: 10.73 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.000862/1.017, allocations: 0.5165 MB / 1.203 GB, free: 10.44 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001161/1.018, allocations: 313.8 kB / 1.203 GB, free: 10.27 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002675/1.021, allocations: 1.62 MB / 1.205 GB, free: 9.316 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005511/1.021, allocations: 1.025 MB / 1.206 GB, free: 8.359 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0007415/1.022, allocations: 266.5 kB / 1.206 GB, free: 8.094 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002435/1.022, allocations: 107.4 kB / 1.206 GB, free: 7.988 MB / 0.9044 GB Notification: Performance of SimCode: time 4.91e-07/1.022, allocations: 0 / 1.206 GB, free: 7.988 MB / 0.9044 GB Notification: Performance of Templates: time 0.02385/1.046, allocations: 15.15 MB / 1.221 GB, free: 9.008 MB / 0.92 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=480 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches