Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.SolarHourAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|solHouAng.solHouAng",fileNamePrefix="Buildings_9_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_9_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.001488/0.001488, allocations: 110.9 kB / 16.37 MB, free: 6.469 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.001656/0.001656, allocations: 189.9 kB / 17.3 MB, free: 5.828 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.353/1.353, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.216/2.216, allocations: 390.3 MB / 0.6655 GB, free: 0.5859 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001995/0.001995, allocations: 62.08 kB / 0.814 GB, free: 32.73 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3343/0.3363, allocations: 140.4 MB / 0.9511 GB, free: 8.062 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.006206/0.3426, allocations: 4.288 MB / 0.9553 GB, free: 3.758 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.8196/1.162, allocations: 150.5 MB / 1.102 GB, free: 5.027 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001152/1.163, allocations: 22.44 kB / 1.102 GB, free: 5.023 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0006723/1.164, allocations: 163.4 kB / 1.102 GB, free: 5.023 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.002051/1.166, allocations: 0.4976 MB / 1.103 GB, free: 5.02 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002266/1.169, allocations: 0.8204 MB / 1.104 GB, free: 5.008 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001968/1.171, allocations: 1.288 MB / 1.105 GB, free: 4.98 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001118/1.172, allocations: 0.6056 MB / 1.106 GB, free: 4.852 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008844/1.173, allocations: 472.8 kB / 1.106 GB, free: 4.836 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000736/1.173, allocations: 487.8 kB / 1.107 GB, free: 4.832 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0002021/1.174, allocations: 117.3 kB / 1.107 GB, free: 4.828 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001245/1.175, allocations: 481.6 kB / 1.107 GB, free: 4.816 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0003556/1.175, allocations: 289.5 kB / 1.107 GB, free: 4.812 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0006785/1.176, allocations: 0.5301 MB / 1.108 GB, free: 4.809 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.002586/1.178, allocations: 1.578 MB / 1.109 GB, free: 4.699 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/1.178, allocations: 0.8438 kB / 1.109 GB, free: 4.699 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.453e-06/1.178, allocations: 0 / 1.109 GB, free: 4.699 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 2.738e-05/1.178, allocations: 1.062 kB / 1.109 GB, free: 4.699 MB / 0.8575 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.00323/1.182, allocations: 1.402 MB / 1.111 GB, free: 19.93 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.83e-05/1.182, allocations: 9 kB / 1.111 GB, free: 19.93 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001241/1.183, allocations: 180.7 kB / 1.111 GB, free: 19.87 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001566/1.185, allocations: 0.7495 MB / 1.112 GB, free: 19.54 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.434e-05/1.185, allocations: 64.64 kB / 1.112 GB, free: 19.54 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001243/1.185, allocations: 76.77 kB / 1.112 GB, free: 19.54 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001775/1.187, allocations: 0.9112 MB / 1.113 GB, free: 19.38 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.003e-05/1.187, allocations: 5.094 kB / 1.113 GB, free: 19.38 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001013/1.187, allocations: 34.03 kB / 1.113 GB, free: 19.38 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.226e-05/1.187, allocations: 23.19 kB / 1.113 GB, free: 19.38 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002014/1.189, allocations: 1.094 MB / 1.114 GB, free: 19.36 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004548/1.193, allocations: 2.432 MB / 1.116 GB, free: 18.57 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001524/1.195, allocations: 0.8621 MB / 1.117 GB, free: 18.43 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004984/1.195, allocations: 303.9 kB / 1.117 GB, free: 18.42 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 8.133e-05/1.195, allocations: 30.89 kB / 1.117 GB, free: 18.42 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008612/1.196, allocations: 496.4 kB / 1.118 GB, free: 18.34 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=79): time 2.284e-06/1.196, allocations: 0 / 1.118 GB, free: 18.34 MB / 0.8731 GB Notification: Performance of matching and sorting (n=79): time 0.003205/1.2, allocations: 1.172 MB / 1.119 GB, free: 18.14 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001378/1.2, allocations: 192.5 kB / 1.119 GB, free: 17.92 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000937/1.201, allocations: 0.6201 MB / 1.12 GB, free: 17.79 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0001033/1.201, allocations: 41.3 kB / 1.12 GB, free: 17.76 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003164/1.201, allocations: 391 kB / 1.12 GB, free: 17.57 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.000198/1.201, allocations: 261.4 kB / 1.12 GB, free: 17.41 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002602/1.202, allocations: 160.2 kB / 1.121 GB, free: 17.39 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001853/1.202, allocations: 385.6 kB / 1.121 GB, free: 17.08 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005178/1.202, allocations: 259.7 kB / 1.121 GB, free: 17.08 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006112/1.203, allocations: 358.7 kB / 1.122 GB, free: 17.02 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001049/1.204, allocations: 0.5976 MB / 1.122 GB, free: 16.96 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.889e-06/1.204, allocations: 0.7812 kB / 1.122 GB, free: 16.96 MB / 0.8731 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.002135/1.206, allocations: 0.8379 MB / 1.123 GB, free: 16.85 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.237e-05/1.206, allocations: 5.625 kB / 1.123 GB, free: 16.85 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.033e-05/1.206, allocations: 5.5 kB / 1.123 GB, free: 16.85 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006024/1.207, allocations: 76.84 kB / 1.123 GB, free: 16.84 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006375/1.207, allocations: 162 kB / 1.123 GB, free: 16.83 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002081/1.21, allocations: 1.632 MB / 1.125 GB, free: 15.43 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008129/1.21, allocations: 89.83 kB / 1.125 GB, free: 15.4 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.395e-05/1.21, allocations: 35.92 kB / 1.125 GB, free: 15.4 MB / 0.8731 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.0005489/1.211, allocations: 267.9 kB / 1.125 GB, free: 15.27 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001746/1.211, allocations: 86.06 kB / 1.125 GB, free: 15.23 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002244/1.213, allocations: 1.052 MB / 1.126 GB, free: 15.11 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.929e-06/1.213, allocations: 8.906 kB / 1.126 GB, free: 15.11 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/1.213, allocations: 0 / 1.126 GB, free: 15.11 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.148e-05/1.213, allocations: 4.859 kB / 1.126 GB, free: 15.11 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003289/1.217, allocations: 1.905 MB / 1.128 GB, free: 14.73 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.419e-06/1.217, allocations: 0 / 1.128 GB, free: 14.73 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005668/1.217, allocations: 148 kB / 1.128 GB, free: 14.72 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004297/1.218, allocations: 70.72 kB / 1.128 GB, free: 14.71 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.784e-05/1.218, allocations: 28.69 kB / 1.128 GB, free: 14.71 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001927/1.22, allocations: 1.661 MB / 1.13 GB, free: 13.3 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.267e-06/1.22, allocations: 3.938 kB / 1.13 GB, free: 13.3 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002027/1.222, allocations: 0.9794 MB / 1.131 GB, free: 13.08 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004507/1.222, allocations: 268 kB / 1.131 GB, free: 12.93 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000133/1.222, allocations: 20 kB / 1.131 GB, free: 12.93 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006364/1.223, allocations: 66.8 kB / 1.131 GB, free: 12.93 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001612/1.223, allocations: 70.39 kB / 1.131 GB, free: 12.93 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.946e-05/1.223, allocations: 35.48 kB / 1.131 GB, free: 12.93 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0006347/1.224, allocations: 455.2 kB / 1.132 GB, free: 12.84 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.2e-07/1.224, allocations: 0 / 1.132 GB, free: 12.84 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.001083/1.225, allocations: 304.8 kB / 1.132 GB, free: 12.79 MB / 0.8731 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.001412/1.227, allocations: 0.6085 MB / 1.133 GB, free: 12.56 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001881/1.228, allocations: 0.8123 MB / 1.134 GB, free: 12.41 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/1.228, allocations: 0 / 1.134 GB, free: 12.41 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0009942/1.229, allocations: 0.5194 MB / 1.134 GB, free: 12.28 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001297/1.231, allocations: 284.5 kB / 1.134 GB, free: 12.24 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003943/1.235, allocations: 1.719 MB / 1.136 GB, free: 11.62 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006393/1.235, allocations: 1.019 MB / 1.137 GB, free: 10.91 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0008926/1.236, allocations: 262.7 kB / 1.137 GB, free: 10.83 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002538/1.237, allocations: 100 kB / 1.137 GB, free: 10.82 MB / 0.8731 GB Notification: Performance of SimCode: time 8.72e-07/1.237, allocations: 1.375 kB / 1.137 GB, free: 10.82 MB / 0.8731 GB Notification: Performance of Templates: time 0.02884/1.265, allocations: 14.54 MB / 1.152 GB, free: 6.895 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.sim & ./Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches