Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.BaseClasses.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|incAng.incAng",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|incAng.incAng",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009915/0.009915, allocations: 99.16 kB / 15.73 MB, free: 6.004 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.001907/0.001908, allocations: 191.8 kB / 16.67 MB, free: 5.93 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.332/1.332, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.208/2.208, allocations: 390.2 MB / 0.6648 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001228/0.001229, allocations: 63.91 kB / 0.9508 GB, free: 7.672 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8533/0.8545, allocations: 140.4 MB / 1.088 GB, free: 5.531 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle): time 0.00554/0.8601, allocations: 4.468 MB / 1.092 GB, free: 2.359 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.1874/1.048, allocations: 150.7 MB / 1.239 GB, free: 0.7227 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001261/1.049, allocations: 24.19 kB / 1.24 GB, free: 0.7109 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0006384/1.05, allocations: 180.2 kB / 1.24 GB, free: 0.5508 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.002006/1.052, allocations: 0.548 MB / 1.24 GB, free: 148 kB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002243/1.054, allocations: 0.8318 MB / 1.241 GB, free: 15.52 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001607/1.055, allocations: 1.381 MB / 1.242 GB, free: 14.65 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008896/1.056, allocations: 0.6239 MB / 1.243 GB, free: 14.26 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007294/1.057, allocations: 0.506 MB / 1.243 GB, free: 13.94 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006176/1.058, allocations: 0.5163 MB / 1.244 GB, free: 13.57 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001759/1.058, allocations: 121.1 kB / 1.244 GB, free: 13.57 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001033/1.059, allocations: 493.8 kB / 1.245 GB, free: 13.29 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002879/1.059, allocations: 307 kB / 1.245 GB, free: 12.99 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.000495/1.06, allocations: 0.5712 MB / 1.245 GB, free: 12.42 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.00209/1.062, allocations: 1.657 MB / 1.247 GB, free: 10.76 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.532e-06/1.062, allocations: 4 kB / 1.247 GB, free: 10.75 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.663e-06/1.062, allocations: 4 kB / 1.247 GB, free: 10.75 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.657e-05/1.062, allocations: 0 / 1.247 GB, free: 10.75 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 223 * Number of variables: 223 Notification: Performance of Generate backend data structure: time 0.002702/1.065, allocations: 1.509 MB / 1.249 GB, free: 9.188 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.922e-05/1.065, allocations: 8.031 kB / 1.249 GB, free: 9.18 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009541/1.066, allocations: 200 kB / 1.249 GB, free: 8.984 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001209/1.067, allocations: 0.7864 MB / 1.249 GB, free: 8.156 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.937e-05/1.067, allocations: 69.98 kB / 1.25 GB, free: 8.09 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001181/1.067, allocations: 84 kB / 1.25 GB, free: 8.008 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001618/1.069, allocations: 0.9612 MB / 1.251 GB, free: 7.004 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.15e-05/1.069, allocations: 4 kB / 1.251 GB, free: 7 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.522e-05/1.069, allocations: 39.98 kB / 1.251 GB, free: 6.961 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.061e-05/1.069, allocations: 20 kB / 1.251 GB, free: 6.941 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001799/1.071, allocations: 1.159 MB / 1.252 GB, free: 5.781 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004151/1.075, allocations: 2.653 MB / 1.254 GB, free: 3.059 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00155/1.076, allocations: 0.8438 MB / 1.255 GB, free: 2.211 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005579/1.077, allocations: 322.7 kB / 1.255 GB, free: 1.895 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 8.069e-05/1.077, allocations: 32.69 kB / 1.256 GB, free: 1.863 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009338/1.078, allocations: 0.5332 MB / 1.256 GB, free: 1.305 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=88): time 2.735e-06/1.078, allocations: 0 / 1.256 GB, free: 1.305 MB / 0.9825 GB Notification: Performance of matching and sorting (n=88): time 0.003241/1.081, allocations: 1.29 MB / 1.257 GB, free: 15.99 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001041/1.081, allocations: 196.9 kB / 1.257 GB, free: 15.75 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008005/1.082, allocations: 0.6566 MB / 1.258 GB, free: 15.1 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 7.039e-05/1.082, allocations: 41.7 kB / 1.258 GB, free: 15.05 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003185/1.083, allocations: 417.1 kB / 1.259 GB, free: 14.64 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002314/1.083, allocations: 301.4 kB / 1.259 GB, free: 14.34 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000257/1.083, allocations: 174.6 kB / 1.259 GB, free: 14.16 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001814/1.083, allocations: 394.7 kB / 1.259 GB, free: 13.77 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005622/1.084, allocations: 293.8 kB / 1.26 GB, free: 13.48 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006613/1.084, allocations: 391.1 kB / 1.26 GB, free: 13.08 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001157/1.086, allocations: 0.6555 MB / 1.261 GB, free: 12.41 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/1.086, allocations: 0 / 1.261 GB, free: 12.41 MB / 0.9981 GB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002007/1.088, allocations: 0.9233 MB / 1.262 GB, free: 11.48 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.399e-05/1.088, allocations: 11.94 kB / 1.262 GB, free: 11.47 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.877e-06/1.088, allocations: 0 / 1.262 GB, free: 11.47 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005948/1.088, allocations: 80.83 kB / 1.262 GB, free: 11.39 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007259/1.089, allocations: 179.7 kB / 1.262 GB, free: 11.21 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002081/1.091, allocations: 1.634 MB / 1.263 GB, free: 9.43 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008891/1.092, allocations: 91.53 kB / 1.264 GB, free: 9.34 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.374e-05/1.092, allocations: 55.89 kB / 1.264 GB, free: 9.285 MB / 0.9981 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 (105): * Single equations (assignments): 104 * 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.0005535/1.093, allocations: 276.6 kB / 1.264 GB, free: 9.004 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002021/1.093, allocations: 87.62 kB / 1.264 GB, free: 8.918 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002578/1.095, allocations: 1.168 MB / 1.265 GB, free: 7.734 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.003e-05/1.096, allocations: 12 kB / 1.265 GB, free: 7.723 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.055e-06/1.096, allocations: 4 kB / 1.265 GB, free: 7.719 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.758e-06/1.096, allocations: 3.984 kB / 1.265 GB, free: 7.715 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001102/1.097, allocations: 0.9309 MB / 1.266 GB, free: 6.73 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.918e-06/1.097, allocations: 0 / 1.266 GB, free: 6.73 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006389/1.097, allocations: 159.8 kB / 1.266 GB, free: 6.574 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004509/1.098, allocations: 72.8 kB / 1.266 GB, free: 6.5 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.836e-05/1.098, allocations: 31.91 kB / 1.266 GB, free: 6.469 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001985/1.1, allocations: 1.662 MB / 1.268 GB, free: 4.664 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/1.1, allocations: 3.938 kB / 1.268 GB, free: 4.66 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002146/1.102, allocations: 0.9986 MB / 1.269 GB, free: 3.637 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004187/1.102, allocations: 280.2 kB / 1.269 GB, free: 3.344 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001399/1.103, allocations: 23.95 kB / 1.269 GB, free: 3.32 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006865/1.103, allocations: 71.86 kB / 1.269 GB, free: 3.25 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001567/1.103, allocations: 80.83 kB / 1.269 GB, free: 3.172 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.127e-05/1.104, allocations: 44.03 kB / 1.269 GB, free: 3.129 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0006218/1.104, allocations: 483 kB / 1.27 GB, free: 2.664 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.31e-07/1.104, allocations: 0 / 1.27 GB, free: 2.664 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0009105/1.105, allocations: 331.1 kB / 1.27 GB, free: 2.34 MB / 0.9981 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.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (100): * Single equations (assignments): 93 * 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.001429/1.107, allocations: 0.6161 MB / 1.271 GB, free: 1.895 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001914/1.108, allocations: 0.8898 MB / 1.272 GB, free: 0.9922 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/1.108, allocations: 0 / 1.272 GB, free: 0.9922 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.00102/1.109, allocations: 0.5511 MB / 1.272 GB, free: 440 kB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001303/1.111, allocations: 293.9 kB / 1.272 GB, free: 168 kB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004325/1.115, allocations: 1.851 MB / 1.274 GB, free: 14.29 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006792/1.116, allocations: 1.047 MB / 1.275 GB, free: 13.21 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0009222/1.117, allocations: 275 kB / 1.275 GB, free: 12.93 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003265/1.117, allocations: 111.4 kB / 1.276 GB, free: 12.82 MB / 1.014 GB Notification: Performance of SimCode: time 1.002e-06/1.117, allocations: 4 kB / 1.276 GB, free: 12.82 MB / 1.014 GB Notification: Performance of Templates: time 0.03034/1.147, allocations: 15.69 MB / 1.291 GB, free: 13.29 MB / 1.029 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.sim & ./Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches