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.005004/0.005004, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001134/0.001134, allocations: 202 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.318/1.318, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.639/2.639, allocations: 472.6 MB / 0.7453 GB, free: 4.559 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00121/0.00121, allocations: 60.11 kB / 1.069 GB, free: 9.188 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3467/0.3479, allocations: 159.9 MB / 1.226 GB, free: 9.164 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle): time 0.006783/0.3548, allocations: 4.947 MB / 1.23 GB, free: 4.195 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.8314/1.186, allocations: 150.6 MB / 1.378 GB, free: 5.258 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001356/1.188, allocations: 15.25 kB / 1.378 GB, free: 5.254 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.00096/1.189, allocations: 197.4 kB / 1.378 GB, free: 5.125 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.003594/1.192, allocations: 0.556 MB / 1.378 GB, free: 4.809 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.004106/1.196, allocations: 0.8462 MB / 1.379 GB, free: 4.371 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.003454/1.2, allocations: 1.433 MB / 1.381 GB, free: 3.633 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001168/1.201, allocations: 0.5933 MB / 1.381 GB, free: 3.316 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001139/1.202, allocations: 0.499 MB / 1.382 GB, free: 3.066 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000756/1.203, allocations: 0.5204 MB / 1.382 GB, free: 2.797 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0002033/1.203, allocations: 122.9 kB / 1.382 GB, free: 2.793 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001314/1.205, allocations: 482.5 kB / 1.383 GB, free: 2.68 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0003237/1.205, allocations: 307.2 kB / 1.383 GB, free: 2.438 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0006061/1.205, allocations: 0.5728 MB / 1.384 GB, free: 2.016 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.002572/1.208, allocations: 1.679 MB / 1.385 GB, free: 0.8047 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/1.208, allocations: 0 / 1.385 GB, free: 0.8047 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.004e-06/1.208, allocations: 0 / 1.385 GB, free: 0.8047 MB / 1.076 GB Notification: Performance of Transformations before backend: time 2.182e-05/1.208, allocations: 1.094 kB / 1.385 GB, free: 0.8047 MB / 1.076 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.003186/1.211, allocations: 1.508 MB / 1.387 GB, free: 15.61 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 5.251e-05/1.211, allocations: 10.28 kB / 1.387 GB, free: 15.61 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001041/1.212, allocations: 186.8 kB / 1.387 GB, free: 15.52 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001422/1.214, allocations: 0.7805 MB / 1.388 GB, free: 14.88 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.439e-05/1.214, allocations: 65.53 kB / 1.388 GB, free: 14.85 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001201/1.214, allocations: 88.12 kB / 1.388 GB, free: 14.82 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001823/1.216, allocations: 0.953 MB / 1.389 GB, free: 14.21 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.05e-05/1.216, allocations: 1.031 kB / 1.389 GB, free: 14.21 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.785e-05/1.216, allocations: 36.72 kB / 1.389 GB, free: 14.18 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.919e-05/1.216, allocations: 21.34 kB / 1.389 GB, free: 14.18 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001883/1.218, allocations: 1.125 MB / 1.39 GB, free: 13.64 MB / 1.092 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.004366/1.222, allocations: 2.735 MB / 1.393 GB, free: 11.46 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001702/1.224, allocations: 0.9129 MB / 1.393 GB, free: 10.94 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005934/1.225, allocations: 322 kB / 1.394 GB, free: 10.77 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 8.431e-05/1.225, allocations: 31.62 kB / 1.394 GB, free: 10.76 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000959/1.226, allocations: 0.5149 MB / 1.394 GB, free: 10.43 MB / 1.092 GB Notification: Performance of pre-optimization done (n=85): time 3.236e-06/1.226, allocations: 0 / 1.394 GB, free: 10.43 MB / 1.092 GB Notification: Performance of matching and sorting (n=85): time 0.00357/1.229, allocations: 1.271 MB / 1.395 GB, free: 9.738 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001243/1.229, allocations: 190.3 kB / 1.396 GB, free: 9.516 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009985/1.23, allocations: 0.6369 MB / 1.396 GB, free: 9.145 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 6.973e-05/1.231, allocations: 42.33 kB / 1.396 GB, free: 9.102 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003517/1.231, allocations: 410 kB / 1.397 GB, free: 8.742 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002322/1.231, allocations: 287.8 kB / 1.397 GB, free: 8.492 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002696/1.231, allocations: 178.5 kB / 1.397 GB, free: 8.383 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001883/1.232, allocations: 394.3 kB / 1.398 GB, free: 8.008 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005494/1.232, allocations: 289.1 kB / 1.398 GB, free: 7.863 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006891/1.233, allocations: 380.7 kB / 1.398 GB, free: 7.641 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001201/1.234, allocations: 0.6344 MB / 1.399 GB, free: 7.297 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.038e-06/1.234, allocations: 1.062 kB / 1.399 GB, free: 7.297 MB / 1.092 GB Notification: Performance of matching and sorting (n=103) (initialization): time 0.002076/1.236, allocations: 0.8894 MB / 1.4 GB, free: 6.84 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 2.49e-05/1.236, allocations: 5.375 kB / 1.4 GB, free: 6.84 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.969e-06/1.236, allocations: 1.5 kB / 1.4 GB, free: 6.84 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005843/1.237, allocations: 84.62 kB / 1.4 GB, free: 6.797 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007221/1.238, allocations: 175.2 kB / 1.4 GB, free: 6.75 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002303/1.24, allocations: 1.626 MB / 1.402 GB, free: 5.152 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008716/1.241, allocations: 105.4 kB / 1.402 GB, free: 5.082 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.661e-05/1.241, allocations: 42.3 kB / 1.402 GB, free: 5.066 MB / 1.092 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.0005511/1.241, allocations: 272.2 kB / 1.402 GB, free: 4.855 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002064/1.242, allocations: 89 kB / 1.402 GB, free: 4.809 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002571/1.244, allocations: 1.142 MB / 1.403 GB, free: 4.176 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.495e-05/1.244, allocations: 14.25 kB / 1.403 GB, free: 4.172 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/1.244, allocations: 3.984 kB / 1.403 GB, free: 4.168 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.15e-05/1.244, allocations: 3.984 kB / 1.403 GB, free: 4.164 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003475/1.248, allocations: 2.026 MB / 1.405 GB, free: 2.828 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.62e-06/1.248, allocations: 0 / 1.405 GB, free: 2.828 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005585/1.248, allocations: 154 kB / 1.405 GB, free: 2.797 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004072/1.249, allocations: 72.31 kB / 1.405 GB, free: 2.758 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.059e-05/1.249, allocations: 29.92 kB / 1.405 GB, free: 2.738 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002369/1.251, allocations: 1.661 MB / 1.407 GB, free: 1.121 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/1.251, allocations: 0 / 1.407 GB, free: 1.121 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002603/1.254, allocations: 1.059 MB / 1.408 GB, free: 0.5234 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006184/1.254, allocations: 279.1 kB / 1.408 GB, free: 288 kB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001469/1.255, allocations: 21.5 kB / 1.408 GB, free: 272 kB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00069/1.255, allocations: 70.23 kB / 1.408 GB, free: 236 kB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002241/1.256, allocations: 77 kB / 1.408 GB, free: 196 kB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001044/1.256, allocations: 49.05 kB / 1.408 GB, free: 172 kB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0007497/1.256, allocations: 462.7 kB / 1.409 GB, free: 15.91 MB / 1.107 GB Notification: Performance of sort global known variables: time 1.1e-07/1.256, allocations: 2.688 kB / 1.409 GB, free: 15.91 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.001139/1.258, allocations: 339.1 kB / 1.409 GB, free: 15.81 MB / 1.107 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.001597/1.259, allocations: 0.6053 MB / 1.41 GB, free: 15.52 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.001894/1.261, allocations: 0.8704 MB / 1.411 GB, free: 15.07 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 3.606e-06/1.261, allocations: 256 / 1.411 GB, free: 15.07 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.0009891/1.262, allocations: 0.5434 MB / 1.411 GB, free: 14.77 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001308/1.263, allocations: 320.7 kB / 1.412 GB, free: 14.6 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003207/1.267, allocations: 1.733 MB / 1.413 GB, free: 13.55 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007581/1.267, allocations: 1.04 MB / 1.414 GB, free: 12.49 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.0008957/1.268, allocations: 266.9 kB / 1.414 GB, free: 12.22 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00029/1.269, allocations: 115.4 kB / 1.415 GB, free: 12.11 MB / 1.107 GB Notification: Performance of SimCode: time 4.127e-06/1.269, allocations: 0 / 1.415 GB, free: 12.11 MB / 1.107 GB Notification: Performance of Templates: time 0.02675/1.295, allocations: 15.75 MB / 1.43 GB, free: 12.52 MB / 1.123 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