Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.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.AltitudeAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|altAng.alt",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|altAng.alt",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001858/0.001858, allocations: 107.3 kB / 16.41 MB, free: 6.406 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.001599/0.001599, allocations: 188.9 kB / 17.34 MB, free: 5.695 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.389/1.389, allocations: 222.9 MB / 241 MB, free: 15.07 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.217/2.217, allocations: 390.3 MB / 0.6655 GB, free: 0.6016 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00128/0.00128, allocations: 63.89 kB / 0.9515 GB, free: 7.652 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8972/0.8984, allocations: 140.4 MB / 1.089 GB, free: 5.508 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle): time 0.005621/0.9041, allocations: 4.437 MB / 1.093 GB, free: 2.359 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.1917/1.096, allocations: 150.6 MB / 1.24 GB, free: 0.8438 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001369/1.097, allocations: 20.25 kB / 1.24 GB, free: 0.8359 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0006672/1.098, allocations: 176.2 kB / 1.24 GB, free: 0.6797 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.002314/1.1, allocations: 0.52 MB / 1.241 GB, free: 304 kB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002521/1.103, allocations: 0.8452 MB / 1.242 GB, free: 15.66 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001667/1.105, allocations: 1.354 MB / 1.243 GB, free: 14.81 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008988/1.105, allocations: 0.6222 MB / 1.243 GB, free: 14.42 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007391/1.106, allocations: 0.4886 MB / 1.244 GB, free: 14.12 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006155/1.107, allocations: 0.5104 MB / 1.244 GB, free: 13.75 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001812/1.107, allocations: 121.8 kB / 1.245 GB, free: 13.74 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001081/1.108, allocations: 487.7 kB / 1.245 GB, free: 13.55 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002715/1.108, allocations: 303 kB / 1.245 GB, free: 13.26 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0004774/1.109, allocations: 0.5634 MB / 1.246 GB, free: 12.69 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001797/1.111, allocations: 1.637 MB / 1.247 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/1.111, allocations: 4 kB / 1.247 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.124e-06/1.111, allocations: 0 / 1.247 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.303e-05/1.111, allocations: 0 / 1.247 GB, free: 11.05 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: 219 * Number of variables: 219 Notification: Performance of Generate backend data structure: time 0.00262/1.113, allocations: 1.46 MB / 1.249 GB, free: 9.535 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.587e-05/1.113, allocations: 8.031 kB / 1.249 GB, free: 9.527 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009463/1.114, allocations: 187.4 kB / 1.249 GB, free: 9.344 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001155/1.116, allocations: 0.7779 MB / 1.25 GB, free: 8.523 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.436e-05/1.116, allocations: 70 kB / 1.25 GB, free: 8.457 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001046/1.116, allocations: 80 kB / 1.25 GB, free: 8.379 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001613/1.117, allocations: 0.9495 MB / 1.251 GB, free: 7.387 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.865e-05/1.117, allocations: 0 / 1.251 GB, free: 7.387 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.809e-05/1.117, allocations: 40 kB / 1.251 GB, free: 7.348 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.736e-05/1.117, allocations: 20 kB / 1.251 GB, free: 7.328 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001748/1.119, allocations: 1.128 MB / 1.252 GB, free: 6.199 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003805/1.123, allocations: 2.519 MB / 1.255 GB, free: 3.609 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001597/1.125, allocations: 0.9088 MB / 1.255 GB, free: 2.68 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005375/1.125, allocations: 321.2 kB / 1.256 GB, free: 2.367 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 8.406e-05/1.125, allocations: 36.67 kB / 1.256 GB, free: 2.332 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008854/1.126, allocations: 0.5119 MB / 1.256 GB, free: 1.793 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=85): time 4.599e-06/1.126, allocations: 7.938 kB / 1.256 GB, free: 1.785 MB / 0.9825 GB Notification: Performance of matching and sorting (n=85): time 0.003255/1.129, allocations: 1.255 MB / 1.257 GB, free: 0.5078 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001033/1.13, allocations: 192.9 kB / 1.258 GB, free: 284 kB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008215/1.13, allocations: 0.6409 MB / 1.258 GB, free: 15.63 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 7.144e-05/1.131, allocations: 45.7 kB / 1.258 GB, free: 15.58 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003257/1.131, allocations: 396.5 kB / 1.259 GB, free: 15.19 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002173/1.131, allocations: 280 kB / 1.259 GB, free: 14.91 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002484/1.131, allocations: 170.5 kB / 1.259 GB, free: 14.73 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001807/1.132, allocations: 390.8 kB / 1.259 GB, free: 14.34 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005446/1.132, allocations: 277.8 kB / 1.26 GB, free: 14.07 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006406/1.133, allocations: 380 kB / 1.26 GB, free: 13.68 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001151/1.134, allocations: 0.6329 MB / 1.261 GB, free: 13.04 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/1.134, allocations: 0 / 1.261 GB, free: 13.04 MB / 0.9981 GB Notification: Performance of matching and sorting (n=103) (initialization): time 0.001976/1.136, allocations: 0.8916 MB / 1.262 GB, free: 12.14 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.137e-05/1.136, allocations: 7.938 kB / 1.262 GB, free: 12.13 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/1.136, allocations: 0 / 1.262 GB, free: 12.13 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006041/1.137, allocations: 84.84 kB / 1.262 GB, free: 12.04 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006876/1.137, allocations: 167.8 kB / 1.262 GB, free: 11.88 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002082/1.139, allocations: 1.632 MB / 1.263 GB, free: 10.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007992/1.14, allocations: 103.4 kB / 1.264 GB, free: 9.996 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.316e-05/1.14, allocations: 35.92 kB / 1.264 GB, free: 9.961 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (101): * Single equations (assignments): 100 * 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.0004784/1.141, allocations: 279.7 kB / 1.264 GB, free: 9.676 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001653/1.141, allocations: 82.97 kB / 1.264 GB, free: 9.594 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002465/1.143, allocations: 1.136 MB / 1.265 GB, free: 8.441 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.097e-05/1.143, allocations: 16 kB / 1.265 GB, free: 8.426 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/1.143, allocations: 0 / 1.265 GB, free: 8.426 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.229e-05/1.143, allocations: 7.969 kB / 1.265 GB, free: 8.418 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003288/1.147, allocations: 2.026 MB / 1.267 GB, free: 6.328 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/1.147, allocations: 0 / 1.267 GB, free: 6.328 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006/1.147, allocations: 155.8 kB / 1.267 GB, free: 6.176 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004289/1.148, allocations: 76.72 kB / 1.267 GB, free: 6.098 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.313e-05/1.148, allocations: 31.92 kB / 1.267 GB, free: 6.066 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001821/1.15, allocations: 1.662 MB / 1.269 GB, free: 4.262 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.496e-06/1.15, allocations: 4.203 kB / 1.269 GB, free: 4.258 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002077/1.152, allocations: 1.049 MB / 1.27 GB, free: 3.191 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003661/1.152, allocations: 283.6 kB / 1.27 GB, free: 2.895 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001239/1.152, allocations: 16 kB / 1.27 GB, free: 2.879 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006749/1.153, allocations: 71.92 kB / 1.27 GB, free: 2.809 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001532/1.153, allocations: 76.89 kB / 1.27 GB, free: 2.734 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.36e-05/1.153, allocations: 39.97 kB / 1.27 GB, free: 2.695 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0006084/1.154, allocations: 463 kB / 1.271 GB, free: 2.246 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.5e-07/1.154, allocations: 0 / 1.271 GB, free: 2.246 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0009104/1.155, allocations: 319.2 kB / 1.271 GB, free: 1.934 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.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 (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.001412/1.156, allocations: 0.6168 MB / 1.272 GB, free: 1.488 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001809/1.158, allocations: 0.8664 MB / 1.273 GB, free: 0.6055 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/1.158, allocations: 0 / 1.273 GB, free: 0.6055 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0009649/1.159, allocations: 0.5473 MB / 1.273 GB, free: 52 kB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001294/1.16, allocations: 292.7 kB / 1.273 GB, free: 15.78 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003921/1.164, allocations: 1.842 MB / 1.275 GB, free: 13.91 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005698/1.165, allocations: 1.036 MB / 1.276 GB, free: 12.85 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003257/1.165, allocations: 123.4 kB / 1.276 GB, free: 12.73 MB / 1.014 GB Notification: Performance of SimCode: time 7.82e-07/1.165, allocations: 0 / 1.276 GB, free: 12.73 MB / 1.014 GB Notification: Performance of Templates: time 0.02478/1.19, allocations: 18.92 MB / 1.295 GB, free: 9.852 MB / 1.029 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.sim & ./Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches