Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|zen.y",fileNamePrefix="Buildings_9_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.001408/0.001409, allocations: 101.6 kB / 16.37 MB, free: 6.43 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.001748/0.001748, allocations: 195.8 kB / 17.31 MB, free: 5.781 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.396/1.396, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.257/2.257, allocations: 390.3 MB / 0.6655 GB, free: 0.5977 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001285/0.001285, allocations: 64.92 kB / 0.814 GB, free: 32.69 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.262/0.2633, allocations: 140.4 MB / 0.9511 GB, free: 8.078 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.006139/0.2695, allocations: 4.333 MB / 0.9553 GB, free: 3.727 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.7439/1.013, allocations: 150.5 MB / 1.102 GB, free: 4.562 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001167/1.015, allocations: 16.56 kB / 1.102 GB, free: 4.562 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0006767/1.015, allocations: 168.5 kB / 1.103 GB, free: 4.562 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.002205/1.018, allocations: 0.5014 MB / 1.103 GB, free: 4.551 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002883/1.02, allocations: 0.8297 MB / 1.104 GB, free: 4.543 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.002325/1.023, allocations: 1.301 MB / 1.105 GB, free: 4.504 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001075/1.024, allocations: 0.6258 MB / 1.106 GB, free: 4.371 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008762/1.025, allocations: 473.2 kB / 1.106 GB, free: 4.355 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007426/1.026, allocations: 493.6 kB / 1.107 GB, free: 4.352 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0002167/1.026, allocations: 118.6 kB / 1.107 GB, free: 4.352 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001323/1.027, allocations: 490.1 kB / 1.107 GB, free: 4.344 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0003745/1.027, allocations: 293.6 kB / 1.107 GB, free: 4.34 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.00069/1.028, allocations: 0.546 MB / 1.108 GB, free: 4.332 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.003175/1.031, allocations: 1.62 MB / 1.11 GB, free: 4.219 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/1.031, allocations: 0 / 1.11 GB, free: 4.219 MB / 0.8575 GB Notification: Performance of FrontEnd: time 6.743e-06/1.031, allocations: 1.094 kB / 1.11 GB, free: 4.219 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 3.801e-05/1.031, allocations: 1.094 kB / 1.11 GB, free: 4.219 MB / 0.8575 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.004267/1.036, allocations: 1.404 MB / 1.111 GB, free: 19.45 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 5.602e-05/1.036, allocations: 10.03 kB / 1.111 GB, free: 19.45 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001079/1.037, allocations: 182.5 kB / 1.111 GB, free: 19.39 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001519/1.038, allocations: 0.7624 MB / 1.112 GB, free: 19.06 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.831e-05/1.038, allocations: 65.14 kB / 1.112 GB, free: 19.05 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001304/1.039, allocations: 81.81 kB / 1.112 GB, free: 19.05 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001906/1.041, allocations: 0.9227 MB / 1.113 GB, free: 18.9 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.182e-05/1.041, allocations: 0 / 1.113 GB, free: 18.9 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.131e-05/1.041, allocations: 34.03 kB / 1.113 GB, free: 18.9 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.053e-05/1.041, allocations: 19.88 kB / 1.113 GB, free: 18.9 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002293/1.043, allocations: 1.107 MB / 1.114 GB, free: 18.88 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005082/1.048, allocations: 2.489 MB / 1.117 GB, free: 18.09 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001658/1.05, allocations: 0.8816 MB / 1.117 GB, free: 17.95 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005659/1.05, allocations: 304.5 kB / 1.118 GB, free: 17.94 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 8.8e-05/1.05, allocations: 39.83 kB / 1.118 GB, free: 17.93 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009102/1.051, allocations: 497.7 kB / 1.118 GB, free: 17.86 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=79): time 2.625e-06/1.051, allocations: 0 / 1.118 GB, free: 17.86 MB / 0.8731 GB Notification: Performance of matching and sorting (n=79): time 0.003376/1.055, allocations: 1.186 MB / 1.119 GB, free: 17.65 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001381/1.055, allocations: 193.3 kB / 1.12 GB, free: 17.43 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001091/1.056, allocations: 0.629 MB / 1.12 GB, free: 17.3 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0001036/1.056, allocations: 45.31 kB / 1.12 GB, free: 17.27 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.000359/1.057, allocations: 394.7 kB / 1.121 GB, free: 17.09 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002348/1.057, allocations: 250.6 kB / 1.121 GB, free: 16.93 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002705/1.057, allocations: 167 kB / 1.121 GB, free: 16.91 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001997/1.057, allocations: 386.5 kB / 1.121 GB, free: 16.59 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000524/1.058, allocations: 267.8 kB / 1.122 GB, free: 16.59 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006182/1.058, allocations: 363.6 kB / 1.122 GB, free: 16.53 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001096/1.06, allocations: 0.604 MB / 1.123 GB, free: 16.48 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.97e-06/1.06, allocations: 0 / 1.123 GB, free: 16.48 MB / 0.8731 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.002374/1.062, allocations: 0.8518 MB / 1.123 GB, free: 16.36 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 3.079e-05/1.062, allocations: 9.688 kB / 1.123 GB, free: 16.36 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.083e-05/1.062, allocations: 2.641 kB / 1.123 GB, free: 16.36 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006596/1.063, allocations: 79.73 kB / 1.123 GB, free: 16.35 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006614/1.063, allocations: 162.6 kB / 1.124 GB, free: 16.34 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002167/1.065, allocations: 1.648 MB / 1.125 GB, free: 14.94 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000936/1.066, allocations: 83.8 kB / 1.125 GB, free: 14.91 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.08e-05/1.067, allocations: 39.95 kB / 1.125 GB, free: 14.91 MB / 0.8731 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.0005599/1.067, allocations: 274.2 kB / 1.126 GB, free: 14.78 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000192/1.067, allocations: 87.77 kB / 1.126 GB, free: 14.73 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00239/1.07, allocations: 1.06 MB / 1.127 GB, free: 14.62 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.346e-05/1.07, allocations: 11.2 kB / 1.127 GB, free: 14.62 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/1.07, allocations: 1.203 kB / 1.127 GB, free: 14.62 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.376e-05/1.07, allocations: 8.391 kB / 1.127 GB, free: 14.62 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00364/1.073, allocations: 1.945 MB / 1.129 GB, free: 14.25 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.603e-06/1.073, allocations: 0 / 1.129 GB, free: 14.25 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005944/1.074, allocations: 141.1 kB / 1.129 GB, free: 14.24 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004595/1.075, allocations: 75.31 kB / 1.129 GB, free: 14.23 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.991e-05/1.075, allocations: 21.97 kB / 1.129 GB, free: 14.23 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001992/1.077, allocations: 1.677 MB / 1.13 GB, free: 12.82 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/1.077, allocations: 0.75 kB / 1.13 GB, free: 12.82 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002091/1.079, allocations: 0.9935 MB / 1.131 GB, free: 12.61 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004493/1.079, allocations: 268.4 kB / 1.132 GB, free: 12.46 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001313/1.079, allocations: 26.2 kB / 1.132 GB, free: 12.46 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006112/1.08, allocations: 70.22 kB / 1.132 GB, free: 12.45 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001626/1.08, allocations: 72.03 kB / 1.132 GB, free: 12.44 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.431e-05/1.08, allocations: 40.92 kB / 1.132 GB, free: 12.44 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0005936/1.081, allocations: 450.4 kB / 1.132 GB, free: 12.35 MB / 0.8731 GB Notification: Performance of sort global known variables: time 7.61e-07/1.081, allocations: 3.75 kB / 1.132 GB, free: 12.35 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.001011/1.082, allocations: 303.7 kB / 1.133 GB, free: 12.3 MB / 0.8731 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.001351/1.083, allocations: 0.6067 MB / 1.133 GB, free: 12.07 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001649/1.085, allocations: 0.8304 MB / 1.134 GB, free: 11.93 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/1.085, allocations: 2.703 kB / 1.134 GB, free: 11.93 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0008736/1.086, allocations: 0.5159 MB / 1.135 GB, free: 11.79 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001257/1.087, allocations: 294 kB / 1.135 GB, free: 11.76 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003775/1.091, allocations: 1.73 MB / 1.137 GB, free: 11.13 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005986/1.091, allocations: 1.02 MB / 1.138 GB, free: 10.42 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0008911/1.092, allocations: 261.6 kB / 1.138 GB, free: 10.34 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002564/1.093, allocations: 102.3 kB / 1.138 GB, free: 10.34 MB / 0.8731 GB Notification: Performance of SimCode: time 9.32e-07/1.093, allocations: 0 / 1.138 GB, free: 10.34 MB / 0.8731 GB Notification: Performance of Templates: time 0.02738/1.12, allocations: 14.73 MB / 1.152 GB, free: 6.211 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.sim & ./Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches