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.007206/0.007207, allocations: 95.92 kB / 15.73 MB, free: 6.039 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.001642/0.001642, allocations: 198.6 kB / 16.68 MB, free: 5.969 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.372/1.372, allocations: 222.9 MB / 240.4 MB, free: 4.328 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.646/2.646, allocations: 437 MB / 0.7105 GB, free: 4.922 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001232/0.001232, allocations: 63.91 kB / 1.019 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2755/0.2767, allocations: 151.6 MB / 1.167 GB, free: 6.805 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.006132/0.2829, allocations: 4.821 MB / 1.171 GB, free: 1.953 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.7462/1.029, allocations: 150.6 MB / 1.318 GB, free: 10.85 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009036/1.03, allocations: 20.38 kB / 1.318 GB, free: 10.84 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.000846/1.031, allocations: 186.4 kB / 1.319 GB, free: 10.74 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.00203/1.033, allocations: 0.5488 MB / 1.319 GB, free: 10.5 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.002309/1.035, allocations: 0.8368 MB / 1.32 GB, free: 10.34 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.002008/1.037, allocations: 1.384 MB / 1.321 GB, free: 10.09 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001164/1.039, allocations: 0.5898 MB / 1.322 GB, free: 9.938 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009411/1.039, allocations: 487.8 kB / 1.322 GB, free: 9.836 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00098/1.04, allocations: 0.5033 MB / 1.323 GB, free: 9.648 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0003663/1.041, allocations: 120.6 kB / 1.323 GB, free: 9.645 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001402/1.042, allocations: 486.9 kB / 1.323 GB, free: 9.527 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0004458/1.043, allocations: 292.8 kB / 1.324 GB, free: 9.344 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0009085/1.044, allocations: 0.5659 MB / 1.324 GB, free: 8.961 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.002945/1.047, allocations: 1.645 MB / 1.326 GB, free: 8.262 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 7.264e-06/1.047, allocations: 4.844 kB / 1.326 GB, free: 8.258 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.763e-06/1.047, allocations: 1.344 kB / 1.326 GB, free: 8.258 MB / 1.014 GB Notification: Performance of Transformations before backend: time 7.291e-05/1.047, allocations: 0 / 1.326 GB, free: 8.258 MB / 1.014 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.004048/1.051, allocations: 1.451 MB / 1.327 GB, free: 7.258 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.393e-05/1.051, allocations: 12.94 kB / 1.327 GB, free: 7.254 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001218/1.052, allocations: 189.2 kB / 1.327 GB, free: 7.188 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001388/1.053, allocations: 0.769 MB / 1.328 GB, free: 6.684 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.471e-05/1.053, allocations: 59.72 kB / 1.328 GB, free: 6.66 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001189/1.054, allocations: 82.55 kB / 1.328 GB, free: 6.633 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001657/1.055, allocations: 0.9184 MB / 1.329 GB, free: 6.207 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.85e-05/1.055, allocations: 5.125 kB / 1.329 GB, free: 6.203 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.591e-05/1.055, allocations: 36.28 kB / 1.329 GB, free: 6.176 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.675e-05/1.055, allocations: 20.28 kB / 1.329 GB, free: 6.176 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001749/1.057, allocations: 1.108 MB / 1.33 GB, free: 5.926 MB / 1.014 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.004004/1.061, allocations: 2.708 MB / 1.333 GB, free: 4.262 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001561/1.063, allocations: 0.8869 MB / 1.334 GB, free: 3.855 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005097/1.063, allocations: 307.8 kB / 1.334 GB, free: 3.738 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 7.429e-05/1.063, allocations: 40.3 kB / 1.334 GB, free: 3.723 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008241/1.064, allocations: 497.1 kB / 1.335 GB, free: 3.516 MB / 1.014 GB Notification: Performance of pre-optimization done (n=79): time 2.174e-06/1.064, allocations: 0 / 1.335 GB, free: 3.516 MB / 1.014 GB Notification: Performance of matching and sorting (n=79): time 0.003144/1.067, allocations: 1.194 MB / 1.336 GB, free: 3.012 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001104/1.068, allocations: 189.4 kB / 1.336 GB, free: 2.793 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007844/1.068, allocations: 0.6276 MB / 1.337 GB, free: 2.512 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 7.857e-05/1.068, allocations: 43.05 kB / 1.337 GB, free: 2.469 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002893/1.069, allocations: 398.7 kB / 1.337 GB, free: 2.156 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002149/1.069, allocations: 268.9 kB / 1.337 GB, free: 1.945 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002402/1.069, allocations: 166.3 kB / 1.337 GB, free: 1.867 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001668/1.069, allocations: 387.4 kB / 1.338 GB, free: 1.52 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005091/1.07, allocations: 270.8 kB / 1.338 GB, free: 1.426 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006037/1.07, allocations: 356.7 kB / 1.338 GB, free: 1.27 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001093/1.072, allocations: 0.6076 MB / 1.339 GB, free: 0.9883 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/1.072, allocations: 1.156 kB / 1.339 GB, free: 0.9883 MB / 1.014 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001979/1.074, allocations: 0.8495 MB / 1.34 GB, free: 0.6406 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.806e-05/1.074, allocations: 7.094 kB / 1.34 GB, free: 0.6406 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.264e-06/1.074, allocations: 5.281 kB / 1.34 GB, free: 0.6367 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006125/1.074, allocations: 79.42 kB / 1.34 GB, free: 0.6211 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006341/1.075, allocations: 167.8 kB / 1.34 GB, free: 0.6016 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002126/1.077, allocations: 1.648 MB / 1.342 GB, free: 15.06 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007781/1.078, allocations: 102.7 kB / 1.342 GB, free: 15 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.317e-05/1.078, allocations: 34.25 kB / 1.342 GB, free: 15 MB / 1.029 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.0004626/1.078, allocations: 266.8 kB / 1.342 GB, free: 14.8 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001772/1.079, allocations: 82.42 kB / 1.342 GB, free: 14.75 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002455/1.081, allocations: 1.062 MB / 1.343 GB, free: 14.32 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.015e-05/1.081, allocations: 13.38 kB / 1.343 GB, free: 14.32 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/1.081, allocations: 0 / 1.343 GB, free: 14.32 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.317e-05/1.081, allocations: 8.578 kB / 1.343 GB, free: 14.31 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003412/1.084, allocations: 1.958 MB / 1.345 GB, free: 13.37 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.509e-06/1.084, allocations: 1.031 kB / 1.345 GB, free: 13.37 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005903/1.085, allocations: 144.5 kB / 1.345 GB, free: 13.35 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004655/1.086, allocations: 81.03 kB / 1.345 GB, free: 13.32 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.265e-05/1.086, allocations: 27.03 kB / 1.345 GB, free: 13.31 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002/1.088, allocations: 1.669 MB / 1.347 GB, free: 11.75 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/1.088, allocations: 0 / 1.347 GB, free: 11.75 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002226/1.09, allocations: 0.9998 MB / 1.348 GB, free: 11.28 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004228/1.09, allocations: 276.3 kB / 1.348 GB, free: 11.07 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001406/1.09, allocations: 19.88 kB / 1.348 GB, free: 11.06 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006411/1.091, allocations: 63.42 kB / 1.348 GB, free: 11.05 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001605/1.091, allocations: 70.62 kB / 1.348 GB, free: 11.04 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.176e-05/1.091, allocations: 33.59 kB / 1.348 GB, free: 11.03 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0006103/1.092, allocations: 454.1 kB / 1.349 GB, free: 10.83 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.3e-07/1.092, allocations: 1.094 kB / 1.349 GB, free: 10.83 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.001043/1.093, allocations: 320.3 kB / 1.349 GB, free: 10.75 MB / 1.029 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.001419/1.094, allocations: 0.6106 MB / 1.35 GB, free: 10.49 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001984/1.096, allocations: 0.827 MB / 1.351 GB, free: 10.14 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/1.096, allocations: 1.281 kB / 1.351 GB, free: 10.14 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.001021/1.098, allocations: 0.5193 MB / 1.351 GB, free: 9.887 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001362/1.099, allocations: 310.6 kB / 1.351 GB, free: 9.781 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003483/1.102, allocations: 1.653 MB / 1.353 GB, free: 8.918 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007478/1.103, allocations: 1.02 MB / 1.354 GB, free: 8.188 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0007634/1.104, allocations: 258.5 kB / 1.354 GB, free: 8.113 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002387/1.104, allocations: 104.2 kB / 1.354 GB, free: 8.094 MB / 1.029 GB Notification: Performance of SimCode: time 5.31e-07/1.104, allocations: 0 / 1.354 GB, free: 8.094 MB / 1.029 GB Notification: Performance of Templates: time 0.02456/1.129, allocations: 15.32 MB / 1.369 GB, free: 0.8359 MB / 1.029 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/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