Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.IncidenceAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|incAng.incAng",fileNamePrefix="Buildings_10_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_10_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.001235/0.001241, allocations: 111 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.001202/0.001202, allocations: 189.5 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.39/1.39, 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 10.1.0-maint.10.0.x/package.mo): time 2.48/2.48, allocations: 437.1 MB / 0.7112 GB, free: 4.352 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00123/0.00123, allocations: 63.97 kB / 0.8707 GB, free: 1.465 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2619/0.2632, allocations: 151.6 MB / 1.019 GB, free: 9.863 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle): time 0.00639/0.2696, allocations: 4.989 MB / 1.024 GB, free: 4.848 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.6026/0.8722, allocations: 150.8 MB / 1.171 GB, free: 4 kB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009033/0.8732, allocations: 19.42 kB / 1.171 GB, free: 15.99 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0005761/0.8738, allocations: 194.8 kB / 1.171 GB, free: 15.87 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.001779/0.8756, allocations: 0.5735 MB / 1.172 GB, free: 15.54 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.001914/0.8775, allocations: 0.8476 MB / 1.173 GB, free: 15.1 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.001754/0.8793, allocations: 1.458 MB / 1.174 GB, free: 14.35 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008396/0.8801, allocations: 0.5867 MB / 1.175 GB, free: 14.04 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007403/0.8809, allocations: 0.5105 MB / 1.175 GB, free: 13.79 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006076/0.8815, allocations: 0.5268 MB / 1.176 GB, free: 13.51 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0001791/0.8817, allocations: 120.8 kB / 1.176 GB, free: 13.51 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009384/0.8826, allocations: 490.9 kB / 1.176 GB, free: 13.4 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0002793/0.8829, allocations: 311.2 kB / 1.176 GB, free: 13.21 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0005249/0.8835, allocations: 0.5835 MB / 1.177 GB, free: 12.79 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.001934/0.8854, allocations: 1.688 MB / 1.179 GB, free: 11.58 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.61e-06/0.8854, allocations: 0 / 1.179 GB, free: 11.58 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.044e-06/0.8854, allocations: 5.375 kB / 1.179 GB, free: 11.57 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 2.121e-05/0.8855, allocations: 0 / 1.179 GB, free: 11.57 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.002791/0.8883, allocations: 1.469 MB / 1.18 GB, free: 10.42 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.666e-05/0.8883, allocations: 8.969 kB / 1.18 GB, free: 10.42 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009216/0.8892, allocations: 198.5 kB / 1.18 GB, free: 10.32 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001196/0.8904, allocations: 0.7811 MB / 1.181 GB, free: 9.684 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.007e-05/0.8905, allocations: 65.75 kB / 1.181 GB, free: 9.656 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001262/0.8906, allocations: 84.72 kB / 1.181 GB, free: 9.629 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001646/0.8923, allocations: 0.9715 MB / 1.182 GB, free: 9 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.313e-05/0.8923, allocations: 1.281 kB / 1.182 GB, free: 9 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.112e-05/0.8924, allocations: 36.62 kB / 1.182 GB, free: 8.973 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.726e-05/0.8925, allocations: 22 kB / 1.182 GB, free: 8.973 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0021/0.8946, allocations: 1.162 MB / 1.183 GB, free: 8.422 MB / 0.8887 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.004677/0.8993, allocations: 2.855 MB / 1.186 GB, free: 6.137 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001598/0.9009, allocations: 0.8416 MB / 1.187 GB, free: 5.723 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005436/0.9014, allocations: 323.5 kB / 1.187 GB, free: 5.562 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 9.1e-05/0.9015, allocations: 36.3 kB / 1.187 GB, free: 5.543 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008605/0.9024, allocations: 0.5267 MB / 1.188 GB, free: 5.199 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=88): time 2.886e-06/0.9024, allocations: 0 / 1.188 GB, free: 5.199 MB / 0.8887 GB Notification: Performance of matching and sorting (n=88): time 0.003452/0.9059, allocations: 1.302 MB / 1.189 GB, free: 4.5 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001007/0.906, allocations: 190.5 kB / 1.189 GB, free: 4.281 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008537/0.9068, allocations: 0.653 MB / 1.19 GB, free: 3.902 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 8.116e-05/0.9069, allocations: 42.64 kB / 1.19 GB, free: 3.859 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002999/0.9072, allocations: 403.5 kB / 1.19 GB, free: 3.504 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002125/0.9075, allocations: 289.2 kB / 1.191 GB, free: 3.254 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002657/0.9077, allocations: 180 kB / 1.191 GB, free: 3.141 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001571/0.9079, allocations: 399.5 kB / 1.191 GB, free: 2.762 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005257/0.9084, allocations: 288.5 kB / 1.191 GB, free: 2.625 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006322/0.9091, allocations: 389.3 kB / 1.192 GB, free: 2.402 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001147/0.9102, allocations: 0.66 MB / 1.192 GB, free: 2.047 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.027e-06/0.9102, allocations: 0 / 1.192 GB, free: 2.047 MB / 0.8887 GB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002054/0.9123, allocations: 0.923 MB / 1.193 GB, free: 1.582 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.758e-05/0.9123, allocations: 3.188 kB / 1.193 GB, free: 1.582 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.28e-05/0.9123, allocations: 6.312 kB / 1.193 GB, free: 1.578 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005931/0.9129, allocations: 84.7 kB / 1.193 GB, free: 1.535 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007275/0.9137, allocations: 175.7 kB / 1.194 GB, free: 1.492 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002067/0.9158, allocations: 1.639 MB / 1.195 GB, free: 15.88 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009291/0.9167, allocations: 99.95 kB / 1.195 GB, free: 15.81 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.109e-05/0.9168, allocations: 41.23 kB / 1.195 GB, free: 15.8 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.0004798/0.9173, allocations: 281.1 kB / 1.196 GB, free: 15.58 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001839/0.9175, allocations: 82.97 kB / 1.196 GB, free: 15.54 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002599/0.9201, allocations: 1.172 MB / 1.197 GB, free: 14.88 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.281e-05/0.9201, allocations: 13.94 kB / 1.197 GB, free: 14.87 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.9201, allocations: 0 / 1.197 GB, free: 14.87 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.212e-05/0.9201, allocations: 3.984 kB / 1.197 GB, free: 14.87 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001433/0.9216, allocations: 0.935 MB / 1.198 GB, free: 14.16 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.871e-06/0.9216, allocations: 0 / 1.198 GB, free: 14.16 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006644/0.9223, allocations: 154.7 kB / 1.198 GB, free: 14.12 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004767/0.9228, allocations: 70.73 kB / 1.198 GB, free: 14.09 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.137e-05/0.9229, allocations: 29.38 kB / 1.198 GB, free: 14.07 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001897/0.9248, allocations: 1.662 MB / 1.2 GB, free: 12.45 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.9248, allocations: 7.938 kB / 1.2 GB, free: 12.45 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002355/0.9271, allocations: 0.9916 MB / 1.201 GB, free: 11.92 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005265/0.9277, allocations: 282.2 kB / 1.201 GB, free: 11.68 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001397/0.9278, allocations: 24.95 kB / 1.201 GB, free: 11.66 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006586/0.9285, allocations: 68.02 kB / 1.201 GB, free: 11.62 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001758/0.9287, allocations: 86.8 kB / 1.201 GB, free: 11.57 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.023e-05/0.9288, allocations: 38.91 kB / 1.201 GB, free: 11.56 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0006444/0.9294, allocations: 473.6 kB / 1.201 GB, free: 11.3 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.61e-07/0.9294, allocations: 0 / 1.201 GB, free: 11.3 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.000936/0.9304, allocations: 342.3 kB / 1.202 GB, free: 11.2 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.001343/0.9317, allocations: 0.611 MB / 1.202 GB, free: 10.9 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.001753/0.9335, allocations: 0.8927 MB / 1.203 GB, free: 10.44 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 4.788e-06/0.9335, allocations: 4.062 kB / 1.203 GB, free: 10.44 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0009412/0.9345, allocations: 0.5422 MB / 1.204 GB, free: 10.14 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001183/0.9356, allocations: 307 kB / 1.204 GB, free: 9.98 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002901/0.9386, allocations: 1.722 MB / 1.206 GB, free: 8.715 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000588/0.9392, allocations: 1.046 MB / 1.207 GB, free: 7.645 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0007695/0.9399, allocations: 275.1 kB / 1.207 GB, free: 7.371 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002753/0.9402, allocations: 111.4 kB / 1.207 GB, free: 7.262 MB / 0.9044 GB Notification: Performance of SimCode: time 6.51e-07/0.9402, allocations: 0 / 1.207 GB, free: 7.262 MB / 0.9044 GB Notification: Performance of Templates: time 0.04111/0.9813, allocations: 15.93 MB / 1.223 GB, free: 7.508 MB / 0.92 GB make -j1 -f Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.makefile (rm -f Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.sim & ./Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches