Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_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_latest_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.005592/0.005592, allocations: 98.02 kB / 15.73 MB, free: 6.07 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.002101/0.002101, allocations: 195.3 kB / 16.68 MB, free: 5.977 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.395/1.395, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.623/2.623, allocations: 472.6 MB / 0.7453 GB, free: 0.5195 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001188/0.001188, allocations: 67.84 kB / 1.069 GB, free: 9.652 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8655/0.8667, allocations: 159.9 MB / 1.226 GB, free: 13.55 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle): time 0.006154/0.8729, allocations: 4.929 MB / 1.23 GB, free: 8.602 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.1759/1.049, allocations: 150.7 MB / 1.378 GB, free: 1.359 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00208/1.051, allocations: 19.88 kB / 1.378 GB, free: 1.34 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.001261/1.052, allocations: 190.2 kB / 1.378 GB, free: 1.152 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.003707/1.056, allocations: 0.5627 MB / 1.378 GB, free: 0.5898 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.004362/1.06, allocations: 0.844 MB / 1.379 GB, free: 15.75 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.003163/1.064, allocations: 1.436 MB / 1.38 GB, free: 14.31 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001988/1.066, allocations: 0.5987 MB / 1.381 GB, free: 13.69 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00148/1.067, allocations: 0.4905 MB / 1.382 GB, free: 13.2 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001467/1.069, allocations: 0.5212 MB / 1.382 GB, free: 12.67 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0004778/1.069, allocations: 116 kB / 1.382 GB, free: 12.56 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002442/1.072, allocations: 491.6 kB / 1.383 GB, free: 12.08 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0006892/1.072, allocations: 307 kB / 1.383 GB, free: 11.78 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.001594/1.074, allocations: 0.5752 MB / 1.383 GB, free: 11.2 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.00439/1.078, allocations: 1.67 MB / 1.385 GB, free: 9.527 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 1.033e-05/1.078, allocations: 7.984 kB / 1.385 GB, free: 9.52 MB / 1.107 GB Notification: Performance of FrontEnd: time 2.806e-06/1.078, allocations: 0 / 1.385 GB, free: 9.52 MB / 1.107 GB Notification: Performance of Transformations before backend: time 5.671e-05/1.078, allocations: 0 / 1.385 GB, free: 9.52 MB / 1.107 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.00551/1.084, allocations: 1.497 MB / 1.387 GB, free: 7.969 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 6.148e-05/1.084, allocations: 8.031 kB / 1.387 GB, free: 7.961 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001763/1.086, allocations: 192.1 kB / 1.387 GB, free: 7.773 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002532/1.088, allocations: 0.7864 MB / 1.388 GB, free: 6.945 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001077/1.089, allocations: 62 kB / 1.388 GB, free: 6.883 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002213/1.089, allocations: 84 kB / 1.388 GB, free: 6.801 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003612/1.092, allocations: 0.9535 MB / 1.389 GB, free: 5.809 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.684e-05/1.092, allocations: 7.938 kB / 1.389 GB, free: 5.801 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003464/1.093, allocations: 43.94 kB / 1.389 GB, free: 5.758 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.777e-05/1.093, allocations: 20 kB / 1.389 GB, free: 5.738 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003708/1.097, allocations: 1.124 MB / 1.39 GB, free: 4.613 MB / 1.107 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.008291/1.105, allocations: 2.74 MB / 1.392 GB, free: 1.758 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003005/1.108, allocations: 0.9122 MB / 1.393 GB, free: 0.8242 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001019/1.109, allocations: 322.8 kB / 1.394 GB, free: 0.5 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001389/1.109, allocations: 28.61 kB / 1.394 GB, free: 484 kB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001674/1.111, allocations: 0.524 MB / 1.394 GB, free: 15.93 MB / 1.123 GB Notification: Performance of pre-optimization done (n=85): time 4.739e-06/1.111, allocations: 0 / 1.394 GB, free: 15.93 MB / 1.123 GB Notification: Performance of matching and sorting (n=85): time 0.006213/1.117, allocations: 1.255 MB / 1.395 GB, free: 14.65 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001607/1.117, allocations: 200.8 kB / 1.396 GB, free: 14.41 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001658/1.119, allocations: 0.6449 MB / 1.396 GB, free: 13.75 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 0.0001303/1.119, allocations: 41.7 kB / 1.396 GB, free: 13.71 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006096/1.12, allocations: 409.1 kB / 1.397 GB, free: 13.3 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004233/1.12, allocations: 285.6 kB / 1.397 GB, free: 13.02 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005051/1.121, allocations: 178.5 kB / 1.397 GB, free: 12.84 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0002626/1.121, allocations: 386.8 kB / 1.397 GB, free: 12.45 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001065/1.122, allocations: 277.8 kB / 1.398 GB, free: 12.18 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001273/1.123, allocations: 387.9 kB / 1.398 GB, free: 11.79 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002301/1.126, allocations: 0.6329 MB / 1.399 GB, free: 11.14 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.111e-06/1.126, allocations: 0 / 1.399 GB, free: 11.14 MB / 1.123 GB Notification: Performance of matching and sorting (n=103) (initialization): time 0.003909/1.13, allocations: 0.8882 MB / 1.4 GB, free: 10.24 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 3.148e-05/1.13, allocations: 11.88 kB / 1.4 GB, free: 10.23 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.145e-05/1.13, allocations: 0 / 1.4 GB, free: 10.23 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001022/1.131, allocations: 88.89 kB / 1.4 GB, free: 10.14 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00138/1.132, allocations: 171.7 kB / 1.4 GB, free: 9.969 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003809/1.136, allocations: 1.628 MB / 1.401 GB, free: 8.195 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001512/1.138, allocations: 104.5 kB / 1.402 GB, free: 8.094 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001757/1.138, allocations: 39.97 kB / 1.402 GB, free: 8.055 MB / 1.123 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.0009313/1.139, allocations: 283.3 kB / 1.402 GB, free: 7.773 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005299/1.139, allocations: 91.44 kB / 1.402 GB, free: 7.684 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004905/1.144, allocations: 1.136 MB / 1.403 GB, free: 6.531 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-05/1.144, allocations: 8 kB / 1.403 GB, free: 6.523 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.366e-06/1.144, allocations: 4 kB / 1.403 GB, free: 6.52 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.975e-05/1.144, allocations: 3.984 kB / 1.403 GB, free: 6.516 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006488/1.151, allocations: 2.025 MB / 1.405 GB, free: 4.43 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.314e-06/1.151, allocations: 0 / 1.405 GB, free: 4.43 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001236/1.152, allocations: 151.8 kB / 1.405 GB, free: 4.281 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007667/1.153, allocations: 72.8 kB / 1.405 GB, free: 4.207 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001055/1.153, allocations: 31.97 kB / 1.405 GB, free: 4.176 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002963/1.156, allocations: 1.67 MB / 1.407 GB, free: 2.363 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/1.156, allocations: 0 / 1.407 GB, free: 2.363 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003722/1.16, allocations: 1.061 MB / 1.408 GB, free: 1.281 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007528/1.16, allocations: 276.2 kB / 1.408 GB, free: 0.9922 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002801/1.161, allocations: 24 kB / 1.408 GB, free: 0.9688 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001288/1.162, allocations: 64.06 kB / 1.408 GB, free: 0.9062 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002563/1.162, allocations: 84.88 kB / 1.408 GB, free: 0.8242 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000142/1.162, allocations: 35.98 kB / 1.408 GB, free: 0.7891 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.001136/1.164, allocations: 463 kB / 1.409 GB, free: 352 kB / 1.123 GB Notification: Performance of sort global known variables: time 3.21e-07/1.164, allocations: 0 / 1.409 GB, free: 352 kB / 1.123 GB Notification: Performance of remove unused functions: time 0.001581/1.165, allocations: 343.1 kB / 1.409 GB, free: 8 kB / 1.123 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.002346/1.168, allocations: 0.6101 MB / 1.41 GB, free: 15.57 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.0029/1.171, allocations: 0.8741 MB / 1.411 GB, free: 14.68 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 4.539e-06/1.171, allocations: 0 / 1.411 GB, free: 14.68 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.001507/1.172, allocations: 0.5434 MB / 1.411 GB, free: 14.12 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002085/1.174, allocations: 303.3 kB / 1.411 GB, free: 13.85 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005094/1.179, allocations: 1.738 MB / 1.413 GB, free: 12.09 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001114/1.18, allocations: 1.036 MB / 1.414 GB, free: 11.02 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.001597/1.182, allocations: 270.9 kB / 1.414 GB, free: 10.75 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005046/1.183, allocations: 115.4 kB / 1.415 GB, free: 10.64 MB / 1.139 GB Notification: Performance of SimCode: time 7.62e-07/1.183, allocations: 0 / 1.415 GB, free: 10.64 MB / 1.139 GB Notification: Performance of Templates: time 0.04522/1.228, allocations: 15.74 MB / 1.43 GB, free: 11.06 MB / 1.154 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.sim & ./Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches