Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.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.IncidenceAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|incAng.incAng",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|incAng.incAng",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001126/0.001126, allocations: 117.2 kB / 16.37 MB, free: 6.004 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.001056/0.001056, allocations: 193.2 kB / 17.31 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.336/1.336, 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.479/2.479, allocations: 442.6 MB / 0.7165 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001304/0.001304, allocations: 59.69 kB / 0.8773 GB, free: 11 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3134/0.3147, allocations: 153 MB / 1.027 GB, free: 2.082 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle): time 0.006966/0.3217, allocations: 4.987 MB / 1.032 GB, free: 13.07 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.8018/1.124, allocations: 150.8 MB / 1.179 GB, free: 6.824 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008081/1.124, allocations: 19.88 kB / 1.179 GB, free: 6.816 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0005411/1.125, allocations: 195 kB / 1.179 GB, free: 6.691 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.002051/1.127, allocations: 0.5655 MB / 1.18 GB, free: 6.367 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.001951/1.129, allocations: 0.8501 MB / 1.18 GB, free: 5.832 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.001696/1.131, allocations: 1.455 MB / 1.182 GB, free: 4.93 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008573/1.132, allocations: 0.5874 MB / 1.182 GB, free: 4.578 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000749/1.132, allocations: 0.5115 MB / 1.183 GB, free: 4.266 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006368/1.133, allocations: 0.525 MB / 1.183 GB, free: 3.895 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0001508/1.133, allocations: 120.7 kB / 1.184 GB, free: 3.895 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001024/1.134, allocations: 498 kB / 1.184 GB, free: 3.711 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0003976/1.135, allocations: 303.2 kB / 1.184 GB, free: 3.473 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0007918/1.135, allocations: 0.595 MB / 1.185 GB, free: 3.031 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.002665/1.138, allocations: 1.68 MB / 1.187 GB, free: 1.82 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/1.138, allocations: 4 kB / 1.187 GB, free: 1.816 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.503e-06/1.138, allocations: 1.125 kB / 1.187 GB, free: 1.816 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 2.838e-05/1.138, allocations: 0 / 1.187 GB, free: 1.816 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: 223 * Number of variables: 223 Notification: Performance of Generate backend data structure: time 0.002896/1.141, allocations: 1.472 MB / 1.188 GB, free: 0.6523 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.84e-05/1.141, allocations: 10.03 kB / 1.188 GB, free: 0.6523 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009416/1.142, allocations: 192.8 kB / 1.188 GB, free: 0.5586 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001265/1.143, allocations: 0.7925 MB / 1.189 GB, free: 15.91 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.154e-05/1.143, allocations: 61.81 kB / 1.189 GB, free: 15.88 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001243/1.144, allocations: 90 kB / 1.189 GB, free: 15.85 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001713/1.145, allocations: 0.9677 MB / 1.19 GB, free: 15.23 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.337e-05/1.145, allocations: 0 / 1.19 GB, free: 15.23 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.83e-05/1.145, allocations: 36.97 kB / 1.19 GB, free: 15.2 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.572e-05/1.145, allocations: 20.81 kB / 1.19 GB, free: 15.2 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002006/1.147, allocations: 1.16 MB / 1.191 GB, free: 14.64 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.004727/1.152, allocations: 2.845 MB / 1.194 GB, free: 12.38 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001498/1.154, allocations: 0.8519 MB / 1.195 GB, free: 11.95 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000547/1.154, allocations: 328.1 kB / 1.195 GB, free: 11.79 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 8.429e-05/1.154, allocations: 34.64 kB / 1.195 GB, free: 11.77 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008889/1.155, allocations: 0.536 MB / 1.196 GB, free: 11.42 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=88): time 2.935e-06/1.155, allocations: 0 / 1.196 GB, free: 11.42 MB / 0.9044 GB Notification: Performance of matching and sorting (n=88): time 0.003244/1.159, allocations: 1.293 MB / 1.197 GB, free: 10.72 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.659e-05/1.159, allocations: 189.1 kB / 1.197 GB, free: 10.5 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007428/1.159, allocations: 0.6507 MB / 1.198 GB, free: 10.13 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 7.92e-05/1.16, allocations: 48.77 kB / 1.198 GB, free: 10.08 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002784/1.16, allocations: 405.6 kB / 1.198 GB, free: 9.727 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002075/1.16, allocations: 287.2 kB / 1.198 GB, free: 9.477 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002582/1.16, allocations: 181.9 kB / 1.199 GB, free: 9.367 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001541/1.16, allocations: 394.9 kB / 1.199 GB, free: 8.992 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005317/1.161, allocations: 291.1 kB / 1.199 GB, free: 8.848 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006546/1.162, allocations: 390 kB / 1.2 GB, free: 8.629 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001103/1.163, allocations: 0.6563 MB / 1.2 GB, free: 8.281 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/1.163, allocations: 0 / 1.2 GB, free: 8.281 MB / 0.9044 GB Notification: Performance of matching and sorting (n=107) (initialization): time 0.001965/1.165, allocations: 0.9247 MB / 1.201 GB, free: 7.809 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.609e-05/1.165, allocations: 5.094 kB / 1.201 GB, free: 7.809 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.358e-06/1.165, allocations: 6.531 kB / 1.201 GB, free: 7.805 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006021/1.165, allocations: 83.61 kB / 1.201 GB, free: 7.762 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007368/1.166, allocations: 182.1 kB / 1.202 GB, free: 7.715 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00198/1.168, allocations: 1.631 MB / 1.203 GB, free: 6.113 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008203/1.169, allocations: 97.81 kB / 1.203 GB, free: 6.051 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.852e-05/1.169, allocations: 46.91 kB / 1.203 GB, free: 6.031 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: 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 (105): * Single equations (assignments): 104 * 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.0004632/1.17, allocations: 274.3 kB / 1.203 GB, free: 5.816 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001667/1.17, allocations: 92.88 kB / 1.204 GB, free: 5.766 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002428/1.172, allocations: 1.161 MB / 1.205 GB, free: 5.113 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.468e-06/1.172, allocations: 13.53 kB / 1.205 GB, free: 5.109 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.945e-06/1.172, allocations: 0 / 1.205 GB, free: 5.109 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.909e-06/1.172, allocations: 3.984 kB / 1.205 GB, free: 5.105 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001048/1.173, allocations: 0.9371 MB / 1.206 GB, free: 4.395 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.008e-06/1.173, allocations: 2.906 kB / 1.206 GB, free: 4.395 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006113/1.174, allocations: 154.6 kB / 1.206 GB, free: 4.359 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004269/1.174, allocations: 70.23 kB / 1.206 GB, free: 4.324 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.415e-05/1.174, allocations: 31.28 kB / 1.206 GB, free: 4.301 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0018/1.176, allocations: 1.659 MB / 1.208 GB, free: 2.688 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/1.176, allocations: 2.594 kB / 1.208 GB, free: 2.688 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00205/1.178, allocations: 0.9921 MB / 1.208 GB, free: 2.16 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004604/1.179, allocations: 284.6 kB / 1.209 GB, free: 1.914 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000131/1.179, allocations: 20.88 kB / 1.209 GB, free: 1.898 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006485/1.18, allocations: 68.92 kB / 1.209 GB, free: 1.863 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001613/1.18, allocations: 83.86 kB / 1.209 GB, free: 1.816 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.905e-05/1.18, allocations: 40.95 kB / 1.209 GB, free: 1.801 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.000581/1.18, allocations: 477.5 kB / 1.209 GB, free: 1.535 MB / 0.9044 GB Notification: Performance of sort global known variables: time 2.3e-07/1.18, allocations: 0 / 1.209 GB, free: 1.535 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0009654/1.181, allocations: 338.6 kB / 1.21 GB, free: 1.371 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: 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.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.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.001407/1.183, allocations: 0.6059 MB / 1.21 GB, free: 0.9336 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.001892/1.185, allocations: 0.8948 MB / 1.211 GB, free: 28 kB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 6.452e-06/1.185, allocations: 0 / 1.211 GB, free: 28 kB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.001005/1.186, allocations: 0.5431 MB / 1.212 GB, free: 15.47 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001226/1.187, allocations: 310.6 kB / 1.212 GB, free: 15.2 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003445/1.19, allocations: 1.721 MB / 1.214 GB, free: 13.44 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000736/1.191, allocations: 1.04 MB / 1.215 GB, free: 12.37 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0009167/1.192, allocations: 287 kB / 1.215 GB, free: 12.09 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003252/1.192, allocations: 111.4 kB / 1.215 GB, free: 11.98 MB / 0.92 GB Notification: Performance of SimCode: time 8.41e-07/1.192, allocations: 0 / 1.215 GB, free: 11.98 MB / 0.92 GB Notification: Performance of Templates: time 0.05981/1.252, allocations: 15.93 MB / 1.231 GB, free: 12.21 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.sim & ./Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches