Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.SolarHourAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|solHouAng.solHouAng",fileNamePrefix="Buildings_latest_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_latest_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.001614/0.001614, allocations: 113.7 kB / 16.37 MB, free: 6.012 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.00153/0.00153, allocations: 188.9 kB / 17.3 MB, free: 5.613 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.357/1.357, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.442/2.442, allocations: 442.6 MB / 0.7165 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001983/0.001983, allocations: 57.16 kB / 0.8773 GB, free: 11 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3627/0.3647, allocations: 153 MB / 1.027 GB, free: 2.07 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.007682/0.3724, allocations: 4.801 MB / 1.031 GB, free: 13.25 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.7488/1.121, allocations: 150.6 MB / 1.178 GB, free: 6.859 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001201/1.122, allocations: 19.94 kB / 1.178 GB, free: 6.852 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0005898/1.123, allocations: 185.4 kB / 1.179 GB, free: 6.734 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.001637/1.125, allocations: 0.5375 MB / 1.179 GB, free: 6.426 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.00205/1.127, allocations: 0.8287 MB / 1.18 GB, free: 5.98 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.001801/1.129, allocations: 1.367 MB / 1.181 GB, free: 5.129 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001008/1.13, allocations: 0.5741 MB / 1.182 GB, free: 4.785 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007624/1.13, allocations: 479.9 kB / 1.182 GB, free: 4.5 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000641/1.131, allocations: 499.3 kB / 1.183 GB, free: 4.152 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0002008/1.131, allocations: 114.2 kB / 1.183 GB, free: 4.152 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001143/1.132, allocations: 492.8 kB / 1.183 GB, free: 3.973 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0003026/1.133, allocations: 289.6 kB / 1.184 GB, free: 3.746 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0005519/1.133, allocations: 0.5523 MB / 1.184 GB, free: 3.336 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.002258/1.136, allocations: 1.608 MB / 1.186 GB, free: 2.184 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/1.136, allocations: 0 / 1.186 GB, free: 2.184 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.203e-06/1.136, allocations: 1.188 kB / 1.186 GB, free: 2.184 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.845e-05/1.136, allocations: 0 / 1.186 GB, free: 2.184 MB / 0.8887 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.002597/1.138, allocations: 1.405 MB / 1.187 GB, free: 1.07 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.556e-05/1.138, allocations: 13.41 kB / 1.187 GB, free: 1.066 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009657/1.139, allocations: 182.2 kB / 1.187 GB, free: 0.9805 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001362/1.141, allocations: 0.7558 MB / 1.188 GB, free: 372 kB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.45e-05/1.141, allocations: 62.53 kB / 1.188 GB, free: 340 kB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001072/1.141, allocations: 81.19 kB / 1.188 GB, free: 312 kB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001571/1.142, allocations: 0.9022 MB / 1.189 GB, free: 15.72 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.803e-05/1.142, allocations: 1.125 kB / 1.189 GB, free: 15.72 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.113e-05/1.143, allocations: 40 kB / 1.189 GB, free: 15.69 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.125e-05/1.143, allocations: 21.94 kB / 1.189 GB, free: 15.69 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001695/1.144, allocations: 1.092 MB / 1.19 GB, free: 15.16 MB / 0.9044 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.004495/1.149, allocations: 2.645 MB / 1.193 GB, free: 13.04 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001664/1.15, allocations: 0.8679 MB / 1.194 GB, free: 12.55 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005008/1.151, allocations: 297.5 kB / 1.194 GB, free: 12.4 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 8.395e-05/1.151, allocations: 32.72 kB / 1.194 GB, free: 12.38 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008647/1.152, allocations: 499.5 kB / 1.194 GB, free: 12.06 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=79): time 2.335e-06/1.152, allocations: 0 / 1.194 GB, free: 12.06 MB / 0.9044 GB Notification: Performance of matching and sorting (n=79): time 0.003171/1.155, allocations: 1.179 MB / 1.196 GB, free: 11.43 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001018/1.155, allocations: 188.7 kB / 1.196 GB, free: 11.2 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008398/1.156, allocations: 0.6263 MB / 1.196 GB, free: 10.83 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 7.632e-05/1.156, allocations: 38.86 kB / 1.196 GB, free: 10.79 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003118/1.157, allocations: 396.8 kB / 1.197 GB, free: 10.45 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001983/1.157, allocations: 257 kB / 1.197 GB, free: 10.22 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002698/1.157, allocations: 161.5 kB / 1.197 GB, free: 10.12 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0002384/1.157, allocations: 381.3 kB / 1.198 GB, free: 9.762 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004876/1.158, allocations: 268 kB / 1.198 GB, free: 9.629 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006221/1.158, allocations: 362.8 kB / 1.198 GB, free: 9.418 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001101/1.16, allocations: 0.5958 MB / 1.199 GB, free: 9.102 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/1.16, allocations: 0 / 1.199 GB, free: 9.102 MB / 0.9044 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001973/1.161, allocations: 0.8391 MB / 1.2 GB, free: 8.672 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.678e-05/1.162, allocations: 11.31 kB / 1.2 GB, free: 8.668 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.054e-05/1.162, allocations: 0 / 1.2 GB, free: 8.668 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006402/1.162, allocations: 87.7 kB / 1.2 GB, free: 8.621 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006383/1.163, allocations: 153.8 kB / 1.2 GB, free: 8.586 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002469/1.165, allocations: 1.64 MB / 1.201 GB, free: 6.977 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007927/1.166, allocations: 81.61 kB / 1.201 GB, free: 6.926 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.052e-05/1.166, allocations: 39.5 kB / 1.202 GB, free: 6.91 MB / 0.9044 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.0004923/1.167, allocations: 267.6 kB / 1.202 GB, free: 6.699 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001559/1.167, allocations: 86.97 kB / 1.202 GB, free: 6.652 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002308/1.169, allocations: 1.05 MB / 1.203 GB, free: 6.066 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.235e-06/1.169, allocations: 11.84 kB / 1.203 GB, free: 6.062 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.875e-06/1.169, allocations: 0 / 1.203 GB, free: 6.062 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.247e-06/1.169, allocations: 3.984 kB / 1.203 GB, free: 6.059 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003344/1.173, allocations: 1.908 MB / 1.205 GB, free: 4.785 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.799e-06/1.173, allocations: 0 / 1.205 GB, free: 4.785 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000535/1.173, allocations: 146 kB / 1.205 GB, free: 4.75 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004309/1.174, allocations: 71.91 kB / 1.205 GB, free: 4.711 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.563e-05/1.174, allocations: 26.52 kB / 1.205 GB, free: 4.695 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001907/1.176, allocations: 1.653 MB / 1.207 GB, free: 3.086 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/1.176, allocations: 3.938 kB / 1.207 GB, free: 3.082 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002001/1.178, allocations: 0.9812 MB / 1.208 GB, free: 2.527 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000489/1.178, allocations: 272 kB / 1.208 GB, free: 2.289 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001247/1.178, allocations: 20.75 kB / 1.208 GB, free: 2.273 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005991/1.179, allocations: 67 kB / 1.208 GB, free: 2.238 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001458/1.179, allocations: 64.81 kB / 1.208 GB, free: 2.207 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.771e-05/1.179, allocations: 38.38 kB / 1.208 GB, free: 2.191 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0005421/1.18, allocations: 455 kB / 1.208 GB, free: 1.934 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.81e-07/1.18, allocations: 3.938 kB / 1.208 GB, free: 1.93 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0008826/1.181, allocations: 317.5 kB / 1.209 GB, free: 1.84 MB / 0.9044 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.001332/1.182, allocations: 0.6015 MB / 1.209 GB, free: 1.551 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.001822/1.184, allocations: 0.8195 MB / 1.21 GB, free: 0.9062 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 5.13e-06/1.184, allocations: 4.188 kB / 1.21 GB, free: 0.9023 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0009026/1.185, allocations: 0.5198 MB / 1.211 GB, free: 380 kB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001278/1.186, allocations: 297 kB / 1.211 GB, free: 104 kB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003368/1.189, allocations: 1.609 MB / 1.213 GB, free: 14.46 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001037/1.19, allocations: 1.023 MB / 1.214 GB, free: 13.41 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.000993/1.191, allocations: 254.6 kB / 1.214 GB, free: 13.16 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002732/1.192, allocations: 107.4 kB / 1.214 GB, free: 13.05 MB / 0.92 GB Notification: Performance of SimCode: time 1.092e-06/1.192, allocations: 0 / 1.214 GB, free: 13.05 MB / 0.92 GB Notification: Performance of Templates: time 0.02834/1.22, allocations: 14.94 MB / 1.228 GB, free: 14.28 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.sim & ./Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches