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.001627/0.001627, allocations: 108.6 kB / 16.41 MB, free: 6.441 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.001694/0.001694, allocations: 185.6 kB / 17.34 MB, free: 5.746 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.354/1.354, 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.1-maint.10.0.x/package.mo): time 2.431/2.431, allocations: 437 MB / 0.7112 GB, free: 4.371 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001432/0.001432, allocations: 63.91 kB / 1.019 GB, free: 9.469 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8246/0.826, allocations: 151.6 MB / 1.167 GB, free: 3.867 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.006927/0.833, allocations: 4.825 MB / 1.172 GB, free: 15.02 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.1679/1.001, allocations: 150.6 MB / 1.319 GB, free: 7.82 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009359/1.002, allocations: 15.94 kB / 1.319 GB, free: 7.805 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0008158/1.003, allocations: 198.2 kB / 1.319 GB, free: 7.609 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.002137/1.005, allocations: 0.5513 MB / 1.32 GB, free: 7.059 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.002274/1.007, allocations: 0.833 MB / 1.321 GB, free: 6.23 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.002003/1.009, allocations: 1.386 MB / 1.322 GB, free: 4.836 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001096/1.01, allocations: 0.5947 MB / 1.323 GB, free: 4.215 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008384/1.011, allocations: 490.3 kB / 1.323 GB, free: 3.734 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008409/1.012, allocations: 0.5018 MB / 1.323 GB, free: 3.23 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0003167/1.012, allocations: 120 kB / 1.324 GB, free: 3.113 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001143/1.014, allocations: 483.6 kB / 1.324 GB, free: 2.641 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.000368/1.014, allocations: 299.1 kB / 1.324 GB, free: 2.348 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0007155/1.015, allocations: 0.5558 MB / 1.325 GB, free: 1.789 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.002302/1.017, allocations: 1.637 MB / 1.326 GB, free: 152 kB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/1.017, allocations: 4 kB / 1.327 GB, free: 148 kB / 1.045 GB Notification: Performance of FrontEnd: time 1.473e-06/1.017, allocations: 3.938 kB / 1.327 GB, free: 144 kB / 1.045 GB Notification: Performance of Transformations before backend: time 3.991e-05/1.017, allocations: 4 kB / 1.327 GB, free: 140 kB / 1.045 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.00321/1.02, allocations: 1.418 MB / 1.328 GB, free: 14.67 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.306e-05/1.02, allocations: 8.922 kB / 1.328 GB, free: 14.66 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001024/1.021, allocations: 179.4 kB / 1.328 GB, free: 14.48 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001371/1.023, allocations: 0.7695 MB / 1.329 GB, free: 13.67 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.052e-05/1.023, allocations: 65.98 kB / 1.329 GB, free: 13.61 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001277/1.023, allocations: 80 kB / 1.329 GB, free: 13.53 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00173/1.025, allocations: 0.9222 MB / 1.33 GB, free: 12.57 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.214e-05/1.025, allocations: 0 / 1.33 GB, free: 12.57 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.756e-05/1.025, allocations: 36 kB / 1.33 GB, free: 12.53 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.192e-05/1.025, allocations: 20 kB / 1.33 GB, free: 12.51 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001848/1.027, allocations: 1.108 MB / 1.331 GB, free: 11.41 MB / 1.061 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.004413/1.031, allocations: 2.702 MB / 1.334 GB, free: 8.586 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001664/1.033, allocations: 0.8871 MB / 1.335 GB, free: 7.68 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005409/1.033, allocations: 302.7 kB / 1.335 GB, free: 7.383 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 7.479e-05/1.033, allocations: 36.59 kB / 1.335 GB, free: 7.348 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008471/1.034, allocations: 499 kB / 1.335 GB, free: 6.84 MB / 1.061 GB Notification: Performance of pre-optimization done (n=79): time 4.168e-06/1.034, allocations: 0 / 1.335 GB, free: 6.84 MB / 1.061 GB Notification: Performance of matching and sorting (n=79): time 0.003267/1.038, allocations: 1.19 MB / 1.336 GB, free: 5.621 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001113/1.038, allocations: 188.6 kB / 1.337 GB, free: 5.395 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009584/1.039, allocations: 0.6291 MB / 1.337 GB, free: 4.758 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 0.000123/1.039, allocations: 49.64 kB / 1.337 GB, free: 4.703 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003424/1.039, allocations: 384.5 kB / 1.338 GB, free: 4.32 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002566/1.039, allocations: 256.3 kB / 1.338 GB, free: 4.066 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002644/1.04, allocations: 162.5 kB / 1.338 GB, free: 3.902 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001742/1.04, allocations: 386.7 kB / 1.338 GB, free: 3.516 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005626/1.04, allocations: 265.9 kB / 1.339 GB, free: 3.258 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007196/1.041, allocations: 367.1 kB / 1.339 GB, free: 2.883 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001149/1.042, allocations: 0.6033 MB / 1.34 GB, free: 2.27 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/1.042, allocations: 4 kB / 1.34 GB, free: 2.266 MB / 1.061 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.002146/1.045, allocations: 0.8449 MB / 1.34 GB, free: 1.406 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.59e-05/1.045, allocations: 8 kB / 1.34 GB, free: 1.398 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.556e-06/1.045, allocations: 3.938 kB / 1.34 GB, free: 1.395 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006495/1.045, allocations: 88.8 kB / 1.341 GB, free: 1.305 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006605/1.046, allocations: 155.8 kB / 1.341 GB, free: 1.152 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002354/1.048, allocations: 1.654 MB / 1.342 GB, free: 15.35 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008196/1.049, allocations: 85.39 kB / 1.342 GB, free: 15.27 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.848e-05/1.049, allocations: 39.97 kB / 1.342 GB, free: 15.23 MB / 1.076 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.0005158/1.05, allocations: 275.5 kB / 1.343 GB, free: 14.95 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002261/1.05, allocations: 82.97 kB / 1.343 GB, free: 14.87 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00252/1.052, allocations: 1.061 MB / 1.344 GB, free: 13.79 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.718e-06/1.053, allocations: 8 kB / 1.344 GB, free: 13.78 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.111e-06/1.053, allocations: 3.938 kB / 1.344 GB, free: 13.78 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.061e-05/1.053, allocations: 3.984 kB / 1.344 GB, free: 13.77 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0036/1.056, allocations: 1.955 MB / 1.346 GB, free: 11.76 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.61e-06/1.056, allocations: 0 / 1.346 GB, free: 11.76 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005829/1.057, allocations: 143.8 kB / 1.346 GB, free: 11.62 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004875/1.057, allocations: 72.78 kB / 1.346 GB, free: 11.55 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.894e-05/1.057, allocations: 23.98 kB / 1.346 GB, free: 11.52 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002077/1.059, allocations: 1.686 MB / 1.348 GB, free: 9.695 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.335e-06/1.059, allocations: 0 / 1.348 GB, free: 9.695 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002208/1.062, allocations: 0.9941 MB / 1.349 GB, free: 8.68 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005371/1.062, allocations: 275.7 kB / 1.349 GB, free: 8.391 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001742/1.062, allocations: 16 kB / 1.349 GB, free: 8.375 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007119/1.063, allocations: 67.92 kB / 1.349 GB, free: 8.309 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001695/1.063, allocations: 64.91 kB / 1.349 GB, free: 8.246 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.803e-05/1.063, allocations: 35.97 kB / 1.349 GB, free: 8.211 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0007369/1.064, allocations: 455 kB / 1.349 GB, free: 7.77 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.4e-07/1.064, allocations: 0 / 1.349 GB, free: 7.77 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.001037/1.065, allocations: 323.3 kB / 1.35 GB, free: 7.453 MB / 1.076 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.001468/1.067, allocations: 0.5987 MB / 1.35 GB, free: 7.016 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001933/1.069, allocations: 0.8352 MB / 1.351 GB, free: 6.168 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 4.058e-06/1.069, allocations: 4 kB / 1.351 GB, free: 6.164 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0009896/1.07, allocations: 0.5081 MB / 1.352 GB, free: 5.641 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001457/1.071, allocations: 307.6 kB / 1.352 GB, free: 5.363 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003504/1.075, allocations: 1.667 MB / 1.354 GB, free: 3.664 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007436/1.075, allocations: 1.019 MB / 1.355 GB, free: 2.613 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004086/1.076, allocations: 115.4 kB / 1.355 GB, free: 2.5 MB / 1.076 GB Notification: Performance of SimCode: time 1.242e-06/1.076, allocations: 0 / 1.355 GB, free: 2.5 MB / 1.076 GB Notification: Performance of Templates: time 0.0278/1.104, allocations: 18.58 MB / 1.373 GB, free: 15.95 MB / 1.107 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 -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