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.001667/0.001667, allocations: 114 kB / 15.99 MB, free: 6.355 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.001794/0.001794, allocations: 189 kB / 16.91 MB, free: 6.195 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.472/1.472, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.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.606/2.606, allocations: 437.1 MB / 0.7107 GB, free: 4.652 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001916/0.001916, allocations: 76.25 kB / 0.8694 GB, free: 2.547 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3329/0.3349, allocations: 151.6 MB / 1.017 GB, free: 10.99 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle): time 0.00689/0.3418, allocations: 4.938 MB / 1.022 GB, free: 6.027 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.72/1.062, allocations: 148.4 MB / 1.167 GB, free: 2.172 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000961/1.063, allocations: 18.91 kB / 1.167 GB, free: 2.164 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0006358/1.064, allocations: 150.7 kB / 1.167 GB, free: 2.078 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.001878/1.065, allocations: 0.4896 MB / 1.168 GB, free: 1.812 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.001994/1.067, allocations: 0.7614 MB / 1.169 GB, free: 1.402 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.001805/1.069, allocations: 1.424 MB / 1.17 GB, free: 0.668 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009275/1.07, allocations: 0.5867 MB / 1.171 GB, free: 368 kB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000912/1.071, allocations: 0.4949 MB / 1.171 GB, free: 112 kB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007242/1.072, allocations: 0.5237 MB / 1.172 GB, free: 15.83 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0001758/1.072, allocations: 119 kB / 1.172 GB, free: 15.83 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001044/1.073, allocations: 458.4 kB / 1.172 GB, free: 15.73 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0003265/1.073, allocations: 307.9 kB / 1.172 GB, free: 15.54 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0006196/1.074, allocations: 0.5752 MB / 1.173 GB, free: 15.15 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.001645/1.076, allocations: 1.245 MB / 1.174 GB, free: 14.71 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/1.076, allocations: 0 / 1.174 GB, free: 14.71 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.914e-06/1.076, allocations: 0 / 1.174 GB, free: 14.71 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 2.327e-05/1.076, allocations: 5.219 kB / 1.174 GB, free: 14.71 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: 217 * Number of variables: 217 Notification: Performance of Generate backend data structure: time 0.003309/1.079, allocations: 1.457 MB / 1.176 GB, free: 13.73 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.578e-05/1.079, allocations: 9.5 kB / 1.176 GB, free: 13.73 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009834/1.08, allocations: 190.9 kB / 1.176 GB, free: 13.66 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001204/1.081, allocations: 0.752 MB / 1.177 GB, free: 13.14 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.777e-05/1.081, allocations: 65.81 kB / 1.177 GB, free: 13.11 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001121/1.082, allocations: 83.81 kB / 1.177 GB, free: 13.09 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001736/1.083, allocations: 0.9454 MB / 1.178 GB, free: 12.48 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.203e-05/1.083, allocations: 0 / 1.178 GB, free: 12.48 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.043e-05/1.083, allocations: 36.25 kB / 1.178 GB, free: 12.45 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.018e-05/1.083, allocations: 22 kB / 1.178 GB, free: 12.45 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00184/1.085, allocations: 1.123 MB / 1.179 GB, free: 11.92 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.004599/1.09, allocations: 2.755 MB / 1.181 GB, free: 9.715 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001605/1.092, allocations: 0.9018 MB / 1.182 GB, free: 9.211 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000534/1.092, allocations: 319.4 kB / 1.183 GB, free: 9.051 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 8.47e-05/1.092, allocations: 30.2 kB / 1.183 GB, free: 9.035 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009902/1.093, allocations: 0.521 MB / 1.183 GB, free: 8.695 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=84): time 2.265e-06/1.093, allocations: 0 / 1.183 GB, free: 8.695 MB / 0.8887 GB Notification: Performance of matching and sorting (n=84): time 0.003326/1.097, allocations: 1.253 MB / 1.184 GB, free: 8.02 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001308/1.097, allocations: 192.7 kB / 1.185 GB, free: 7.797 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008818/1.098, allocations: 0.6371 MB / 1.185 GB, free: 7.426 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 8.17e-05/1.098, allocations: 46.58 kB / 1.185 GB, free: 7.379 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003668/1.098, allocations: 396.9 kB / 1.186 GB, free: 7.031 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002525/1.098, allocations: 274.3 kB / 1.186 GB, free: 6.793 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002834/1.099, allocations: 169.8 kB / 1.186 GB, free: 6.691 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0002176/1.099, allocations: 396.9 kB / 1.186 GB, free: 6.316 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005509/1.099, allocations: 275.7 kB / 1.187 GB, free: 6.18 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000627/1.1, allocations: 376.1 kB / 1.187 GB, free: 5.965 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001112/1.101, allocations: 0.6266 MB / 1.188 GB, free: 5.625 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.497e-06/1.101, allocations: 0 / 1.188 GB, free: 5.625 MB / 0.8887 GB Notification: Performance of matching and sorting (n=101) (initialization): time 0.00197/1.103, allocations: 0.8815 MB / 1.189 GB, free: 5.18 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.271e-05/1.103, allocations: 8.266 kB / 1.189 GB, free: 5.176 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.047e-06/1.103, allocations: 2.938 kB / 1.189 GB, free: 5.176 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006138/1.104, allocations: 83.02 kB / 1.189 GB, free: 5.133 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006672/1.104, allocations: 173 kB / 1.189 GB, free: 5.086 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002285/1.107, allocations: 1.633 MB / 1.19 GB, free: 3.484 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008896/1.108, allocations: 97.62 kB / 1.19 GB, free: 3.422 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.672e-05/1.108, allocations: 41.08 kB / 1.19 GB, free: 3.406 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: 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.0005167/1.108, allocations: 275.3 kB / 1.191 GB, free: 3.191 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001712/1.108, allocations: 88.75 kB / 1.191 GB, free: 3.145 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002455/1.111, allocations: 1.134 MB / 1.192 GB, free: 2.516 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.985e-06/1.111, allocations: 10.84 kB / 1.192 GB, free: 2.516 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/1.111, allocations: 3.938 kB / 1.192 GB, free: 2.512 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.085e-05/1.111, allocations: 3.984 kB / 1.192 GB, free: 2.508 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003362/1.114, allocations: 2.014 MB / 1.194 GB, free: 1.176 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.669e-06/1.114, allocations: 2.75 kB / 1.194 GB, free: 1.176 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005791/1.115, allocations: 154.2 kB / 1.194 GB, free: 1.141 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004338/1.115, allocations: 71.84 kB / 1.194 GB, free: 1.102 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.481e-05/1.115, allocations: 32.88 kB / 1.194 GB, free: 1.082 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002035/1.117, allocations: 1.657 MB / 1.196 GB, free: 15.46 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/1.117, allocations: 0 / 1.196 GB, free: 15.46 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00214/1.12, allocations: 1.055 MB / 1.197 GB, free: 14.87 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004646/1.12, allocations: 286.3 kB / 1.197 GB, free: 14.62 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001359/1.12, allocations: 18.78 kB / 1.197 GB, free: 14.61 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000709/1.121, allocations: 65.11 kB / 1.197 GB, free: 14.58 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001621/1.121, allocations: 76.14 kB / 1.197 GB, free: 14.54 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.998e-05/1.121, allocations: 45.19 kB / 1.197 GB, free: 14.52 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0006192/1.122, allocations: 467.2 kB / 1.198 GB, free: 14.25 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.5e-07/1.122, allocations: 6.562 kB / 1.198 GB, free: 14.25 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0009846/1.123, allocations: 328.2 kB / 1.198 GB, free: 14.16 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: 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.001939/1.125, allocations: 0.5929 MB / 1.199 GB, free: 13.88 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.002532/1.127, allocations: 1.093 MB / 1.2 GB, free: 13.38 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 5.019e-06/1.127, allocations: 0 / 1.2 GB, free: 13.38 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0009199/1.128, allocations: 0.5376 MB / 1.2 GB, free: 13.08 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001318/1.13, allocations: 315.4 kB / 1.201 GB, free: 12.92 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003314/1.133, allocations: 2.165 MB / 1.203 GB, free: 11.45 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006934/1.134, allocations: 1.038 MB / 1.204 GB, free: 10.52 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003694/1.134, allocations: 127.4 kB / 1.204 GB, free: 10.39 MB / 0.9044 GB Notification: Performance of SimCode: time 8.22e-07/1.134, allocations: 0 / 1.204 GB, free: 10.39 MB / 0.9044 GB Notification: Performance of Templates: time 0.02866/1.163, allocations: 18.91 MB / 1.222 GB, free: 7.535 MB / 0.92 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=400 -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/jenkins1/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