Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.IncidenceAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|incAng.incAng",fileNamePrefix="Buildings_9_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_9_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.001505/0.001505, allocations: 107.1 kB / 15.99 MB, free: 6.359 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.001711/0.001711, allocations: 192.6 kB / 16.91 MB, free: 6.195 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.407/1.407, allocations: 222.9 MB / 240.6 MB, free: 15.37 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.209/2.209, allocations: 390.2 MB / 0.665 GB, free: 0.8359 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00122/0.00122, allocations: 67.09 kB / 0.8127 GB, free: 33.24 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2615/0.2627, allocations: 140.4 MB / 0.9498 GB, free: 9.164 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle): time 0.006377/0.2691, allocations: 4.492 MB / 0.9541 GB, free: 4.648 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.6998/0.969, allocations: 148.5 MB / 1.099 GB, free: 4.777 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008122/0.9698, allocations: 20.25 kB / 1.099 GB, free: 4.777 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0005854/0.9704, allocations: 134.9 kB / 1.099 GB, free: 4.777 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001583/0.972, allocations: 485.3 kB / 1.1 GB, free: 4.766 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001688/0.9737, allocations: 0.7471 MB / 1.101 GB, free: 4.754 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001532/0.9753, allocations: 1.369 MB / 1.102 GB, free: 4.672 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008962/0.9762, allocations: 0.6271 MB / 1.102 GB, free: 4.539 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007934/0.977, allocations: 0.4946 MB / 1.103 GB, free: 4.523 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006506/0.9777, allocations: 0.5226 MB / 1.103 GB, free: 4.516 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001861/0.9778, allocations: 124.3 kB / 1.104 GB, free: 4.512 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009159/0.9788, allocations: 467 kB / 1.104 GB, free: 4.492 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002821/0.9791, allocations: 305.9 kB / 1.104 GB, free: 4.488 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0005279/0.9796, allocations: 0.5636 MB / 1.105 GB, free: 4.484 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001592/0.9812, allocations: 1.241 MB / 1.106 GB, free: 4.387 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.9812, allocations: 0 / 1.106 GB, free: 4.387 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.704e-06/0.9812, allocations: 0.8438 kB / 1.106 GB, free: 4.387 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 2.517e-05/0.9813, allocations: 0 / 1.106 GB, free: 4.387 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: 223 * Number of variables: 223 Notification: Performance of Generate backend data structure: time 0.002946/0.9842, allocations: 1.469 MB / 1.108 GB, free: 19.59 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.977e-05/0.9843, allocations: 12.38 kB / 1.108 GB, free: 19.59 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009686/0.9852, allocations: 188.5 kB / 1.108 GB, free: 19.53 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001113/0.9864, allocations: 0.7572 MB / 1.108 GB, free: 19.19 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.337e-05/0.9864, allocations: 71.48 kB / 1.109 GB, free: 19.19 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001514/0.9866, allocations: 85.73 kB / 1.109 GB, free: 19.19 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00175/0.9884, allocations: 0.972 MB / 1.11 GB, free: 19.03 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.113e-05/0.9884, allocations: 1.438 kB / 1.11 GB, free: 19.03 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.936e-05/0.9885, allocations: 37.84 kB / 1.11 GB, free: 19.03 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.729e-05/0.9885, allocations: 21.62 kB / 1.11 GB, free: 19.03 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001847/0.9904, allocations: 1.154 MB / 1.111 GB, free: 19.02 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004268/0.9946, allocations: 2.668 MB / 1.113 GB, free: 18.18 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001527/0.9962, allocations: 0.8576 MB / 1.114 GB, free: 18.13 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005335/0.9967, allocations: 321.5 kB / 1.114 GB, free: 18.12 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 8.551e-05/0.9968, allocations: 35.28 kB / 1.115 GB, free: 18.11 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009697/0.9978, allocations: 0.5296 MB / 1.115 GB, free: 18.03 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=88): time 2.605e-06/0.9978, allocations: 0 / 1.115 GB, free: 18.03 MB / 0.8731 GB Notification: Performance of matching and sorting (n=88): time 0.003342/1.001, allocations: 1.281 MB / 1.116 GB, free: 17.82 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.779e-05/1.001, allocations: 198.1 kB / 1.116 GB, free: 17.6 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008679/1.002, allocations: 0.6583 MB / 1.117 GB, free: 17.46 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0001001/1.002, allocations: 45.11 kB / 1.117 GB, free: 17.43 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002799/1.003, allocations: 411.6 kB / 1.118 GB, free: 17.24 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001886/1.003, allocations: 282.6 kB / 1.118 GB, free: 17.07 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002604/1.003, allocations: 178.7 kB / 1.118 GB, free: 17.04 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001852/1.003, allocations: 387.5 kB / 1.118 GB, free: 16.73 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005539/1.004, allocations: 292.8 kB / 1.119 GB, free: 16.73 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000659/1.004, allocations: 393.3 kB / 1.119 GB, free: 16.68 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001222/1.006, allocations: 0.6535 MB / 1.12 GB, free: 16.62 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.45e-06/1.006, allocations: 4 kB / 1.12 GB, free: 16.62 MB / 0.8731 GB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002084/1.008, allocations: 0.923 MB / 1.121 GB, free: 16.5 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.999e-05/1.008, allocations: 5.594 kB / 1.121 GB, free: 16.5 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.167e-06/1.008, allocations: 5.25 kB / 1.121 GB, free: 16.5 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006118/1.008, allocations: 83.52 kB / 1.121 GB, free: 16.49 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007157/1.009, allocations: 176 kB / 1.121 GB, free: 16.48 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002/1.011, allocations: 1.633 MB / 1.122 GB, free: 15.08 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009068/1.012, allocations: 98.55 kB / 1.123 GB, free: 15.05 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.629e-05/1.012, allocations: 42.41 kB / 1.123 GB, free: 15.04 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: 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.0005199/1.013, allocations: 274.2 kB / 1.123 GB, free: 14.91 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001879/1.013, allocations: 86.3 kB / 1.123 GB, free: 14.87 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002517/1.015, allocations: 1.168 MB / 1.124 GB, free: 14.74 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.132e-05/1.015, allocations: 14.44 kB / 1.124 GB, free: 14.74 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/1.015, allocations: 0 / 1.124 GB, free: 14.74 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.193e-05/1.015, allocations: 10 kB / 1.124 GB, free: 14.73 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001189/1.017, allocations: 0.9317 MB / 1.125 GB, free: 14.51 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.874e-06/1.017, allocations: 1.062 kB / 1.125 GB, free: 14.51 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006294/1.017, allocations: 160.8 kB / 1.125 GB, free: 14.5 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004365/1.018, allocations: 72.06 kB / 1.125 GB, free: 14.49 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.459e-05/1.018, allocations: 27.22 kB / 1.125 GB, free: 14.49 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001831/1.02, allocations: 1.668 MB / 1.127 GB, free: 13.07 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/1.02, allocations: 0.5625 kB / 1.127 GB, free: 13.07 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002204/1.022, allocations: 0.9948 MB / 1.128 GB, free: 12.92 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004971/1.022, allocations: 277.7 kB / 1.128 GB, free: 12.77 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002178/1.023, allocations: 28.09 kB / 1.128 GB, free: 12.77 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007387/1.023, allocations: 69.11 kB / 1.128 GB, free: 12.76 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001906/1.024, allocations: 79.88 kB / 1.128 GB, free: 12.76 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.414e-05/1.024, allocations: 42.06 kB / 1.128 GB, free: 12.76 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0006995/1.024, allocations: 481.5 kB / 1.129 GB, free: 12.67 MB / 0.8731 GB Notification: Performance of sort global known variables: time 3.2e-07/1.024, allocations: 0 / 1.129 GB, free: 12.67 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.001148/1.026, allocations: 324.4 kB / 1.129 GB, free: 12.62 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: 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.001543/1.027, allocations: 0.619 MB / 1.13 GB, free: 12.38 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.002782/1.03, allocations: 1.113 MB / 1.131 GB, free: 12.21 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/1.03, allocations: 1.344 kB / 1.131 GB, free: 12.21 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.001044/1.031, allocations: 0.5468 MB / 1.131 GB, free: 12.08 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001582/1.033, allocations: 286.1 kB / 1.132 GB, free: 12.05 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004258/1.037, allocations: 2.325 MB / 1.134 GB, free: 10.9 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006909/1.038, allocations: 1.039 MB / 1.135 GB, free: 10.19 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004029/1.038, allocations: 124.1 kB / 1.135 GB, free: 10.18 MB / 0.8731 GB Notification: Performance of SimCode: time 4.81e-07/1.038, allocations: 0 / 1.135 GB, free: 10.18 MB / 0.8731 GB Notification: Performance of Templates: time 0.02893/1.067, allocations: 19.17 MB / 1.154 GB, free: 4.121 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.sim & ./Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches