Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.SolarHourAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|solHouAng.solHouAng",fileNamePrefix="Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|solHouAng.solHouAng",fileNamePrefix="Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006564/0.006563, allocations: 99.72 kB / 15.73 MB, free: 6.484 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.001565/0.001565, allocations: 188.5 kB / 16.67 MB, free: 6.367 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.401/1.401, allocations: 222.9 MB / 240.4 MB, free: 4.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.582/2.582, allocations: 437 MB / 0.7105 GB, free: 4.992 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001302/0.001302, allocations: 59.91 kB / 1.019 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3165/0.3178, allocations: 151.6 MB / 1.167 GB, free: 6.801 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.009576/0.3275, allocations: 4.797 MB / 1.171 GB, free: 1.973 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.957/1.285, allocations: 150.6 MB / 1.318 GB, free: 10.32 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008591/1.285, allocations: 23.47 kB / 1.318 GB, free: 10.31 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.000629/1.286, allocations: 185.6 kB / 1.319 GB, free: 10.21 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.00187/1.288, allocations: 0.533 MB / 1.319 GB, free: 9.977 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.002304/1.29, allocations: 0.8291 MB / 1.32 GB, free: 9.816 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.00152/1.292, allocations: 1.358 MB / 1.321 GB, free: 9.566 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008336/1.293, allocations: 0.5724 MB / 1.322 GB, free: 9.418 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006413/1.293, allocations: 474.6 kB / 1.322 GB, free: 9.32 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006058/1.294, allocations: 0.4903 MB / 1.323 GB, free: 9.191 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0001775/1.294, allocations: 112.9 kB / 1.323 GB, free: 9.191 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001012/1.295, allocations: 491.6 kB / 1.323 GB, free: 9.156 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0002977/1.295, allocations: 285.2 kB / 1.324 GB, free: 9.105 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0006857/1.296, allocations: 0.5502 MB / 1.324 GB, free: 8.793 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.002874/1.299, allocations: 1.618 MB / 1.326 GB, free: 8.105 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/1.299, allocations: 0 / 1.326 GB, free: 8.105 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.853e-06/1.299, allocations: 1.125 kB / 1.326 GB, free: 8.105 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.86e-05/1.299, allocations: 0 / 1.326 GB, free: 8.105 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 208 * Number of variables: 208 Notification: Performance of Generate backend data structure: time 0.002766/1.302, allocations: 1.443 MB / 1.327 GB, free: 7.109 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.004e-05/1.302, allocations: 10.78 kB / 1.327 GB, free: 7.109 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009626/1.303, allocations: 188.8 kB / 1.327 GB, free: 7.043 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001245/1.304, allocations: 0.7587 MB / 1.328 GB, free: 6.547 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.113e-05/1.304, allocations: 66.47 kB / 1.328 GB, free: 6.52 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001265/1.304, allocations: 84.8 kB / 1.328 GB, free: 6.488 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001724/1.306, allocations: 0.9036 MB / 1.329 GB, free: 6.066 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.217e-05/1.306, allocations: 3.938 kB / 1.329 GB, free: 6.062 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.201e-05/1.306, allocations: 34.56 kB / 1.329 GB, free: 6.039 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.272e-05/1.306, allocations: 19.84 kB / 1.329 GB, free: 6.039 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001902/1.308, allocations: 1.096 MB / 1.33 GB, free: 5.793 MB / 1.014 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.004072/1.312, allocations: 2.659 MB / 1.333 GB, free: 4.164 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001569/1.314, allocations: 0.8698 MB / 1.334 GB, free: 3.766 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005511/1.314, allocations: 300 kB / 1.334 GB, free: 3.652 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 7.983e-05/1.314, allocations: 30.89 kB / 1.334 GB, free: 3.641 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008944/1.315, allocations: 496 kB / 1.334 GB, free: 3.434 MB / 1.014 GB Notification: Performance of pre-optimization done (n=79): time 2.836e-06/1.315, allocations: 0 / 1.334 GB, free: 3.434 MB / 1.014 GB Notification: Performance of matching and sorting (n=79): time 0.003319/1.319, allocations: 1.184 MB / 1.336 GB, free: 2.938 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001105/1.319, allocations: 191.5 kB / 1.336 GB, free: 2.719 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008818/1.32, allocations: 0.6261 MB / 1.336 GB, free: 2.438 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 6.976e-05/1.32, allocations: 43.27 kB / 1.336 GB, free: 2.395 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003302/1.32, allocations: 399.6 kB / 1.337 GB, free: 2.078 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002191/1.32, allocations: 264.3 kB / 1.337 GB, free: 1.871 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002686/1.321, allocations: 159 kB / 1.337 GB, free: 1.801 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001814/1.321, allocations: 385.8 kB / 1.338 GB, free: 1.457 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005728/1.321, allocations: 266.3 kB / 1.338 GB, free: 1.363 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006589/1.322, allocations: 359.3 kB / 1.338 GB, free: 1.207 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001179/1.323, allocations: 0.6047 MB / 1.339 GB, free: 0.9258 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.949e-06/1.323, allocations: 0 / 1.339 GB, free: 0.9258 MB / 1.014 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001979/1.325, allocations: 0.847 MB / 1.34 GB, free: 0.5781 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.127e-05/1.325, allocations: 5.75 kB / 1.34 GB, free: 0.5781 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.105e-06/1.325, allocations: 3.516 kB / 1.34 GB, free: 0.5781 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005743/1.326, allocations: 83.25 kB / 1.34 GB, free: 0.5586 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006463/1.327, allocations: 158.9 kB / 1.34 GB, free: 0.543 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002091/1.329, allocations: 1.641 MB / 1.341 GB, free: 15 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007587/1.329, allocations: 95.2 kB / 1.341 GB, free: 14.95 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.363e-05/1.33, allocations: 33.3 kB / 1.342 GB, free: 14.95 MB / 1.029 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.000498/1.33, allocations: 266.1 kB / 1.342 GB, free: 14.74 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000275/1.33, allocations: 88.36 kB / 1.342 GB, free: 14.7 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002602/1.333, allocations: 1.045 MB / 1.343 GB, free: 14.28 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-05/1.333, allocations: 11.47 kB / 1.343 GB, free: 14.28 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.434e-06/1.333, allocations: 0.75 kB / 1.343 GB, free: 14.28 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.303e-05/1.333, allocations: 4.266 kB / 1.343 GB, free: 14.28 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003944/1.337, allocations: 1.903 MB / 1.345 GB, free: 13.36 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.913e-06/1.337, allocations: 5.062 kB / 1.345 GB, free: 13.36 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005647/1.338, allocations: 142.4 kB / 1.345 GB, free: 13.35 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000437/1.338, allocations: 71.31 kB / 1.345 GB, free: 13.33 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.479e-05/1.338, allocations: 24.06 kB / 1.345 GB, free: 13.32 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001956/1.34, allocations: 1.662 MB / 1.347 GB, free: 11.75 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.811e-06/1.34, allocations: 7.875 kB / 1.347 GB, free: 11.75 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002234/1.342, allocations: 0.979 MB / 1.348 GB, free: 11.29 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004557/1.343, allocations: 271.2 kB / 1.348 GB, free: 11.09 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001906/1.343, allocations: 22.44 kB / 1.348 GB, free: 11.08 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007458/1.344, allocations: 64.78 kB / 1.348 GB, free: 11.06 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001681/1.344, allocations: 72.36 kB / 1.348 GB, free: 11.05 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.208e-05/1.344, allocations: 34.36 kB / 1.348 GB, free: 11.04 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0006767/1.345, allocations: 449.2 kB / 1.348 GB, free: 10.85 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.6e-07/1.345, allocations: 1.219 kB / 1.348 GB, free: 10.85 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.00117/1.346, allocations: 329.8 kB / 1.349 GB, free: 10.75 MB / 1.029 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.001636/1.348, allocations: 0.6083 MB / 1.349 GB, free: 10.49 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001846/1.349, allocations: 0.8289 MB / 1.35 GB, free: 10.14 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 4.558e-06/1.349, allocations: 1.125 kB / 1.35 GB, free: 10.14 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0009967/1.35, allocations: 0.5043 MB / 1.351 GB, free: 9.902 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001451/1.352, allocations: 307 kB / 1.351 GB, free: 9.805 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003277/1.355, allocations: 1.648 MB / 1.353 GB, free: 8.945 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007022/1.356, allocations: 1.012 MB / 1.354 GB, free: 8.223 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0008751/1.357, allocations: 257.5 kB / 1.354 GB, free: 8.148 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002913/1.357, allocations: 104.4 kB / 1.354 GB, free: 8.129 MB / 1.029 GB Notification: Performance of SimCode: time 3.71e-07/1.357, allocations: 0 / 1.354 GB, free: 8.129 MB / 1.029 GB Notification: Performance of Templates: time 0.02695/1.384, allocations: 15.1 MB / 1.369 GB, free: 1.066 MB / 1.029 GB make -j1 -f Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.makefile (rm -f Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.sim & ./Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches