Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001401/0.001401, allocations: 105.7 kB / 15.99 MB, free: 5.895 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.001313/0.001313, allocations: 194.9 kB / 16.91 MB, free: 5.746 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.448/1.448, allocations: 222.9 MB / 240.6 MB, free: 15.39 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.832/2.832, allocations: 469.8 MB / 0.7427 GB, free: 3.59 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001946/0.001946, allocations: 70.25 kB / 0.9087 GB, free: 14.19 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3866/0.3885, allocations: 159.1 MB / 1.064 GB, free: 15.07 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle): time 0.007729/0.3963, allocations: 4.972 MB / 1.069 GB, free: 10.07 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.8281/1.224, allocations: 148.6 MB / 1.214 GB, free: 11 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001272/1.226, allocations: 22.47 kB / 1.214 GB, free: 10.99 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0009456/1.227, allocations: 153.5 kB / 1.214 GB, free: 10.87 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.002915/1.23, allocations: 0.4918 MB / 1.215 GB, free: 10.54 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.002557/1.232, allocations: 0.7622 MB / 1.215 GB, free: 10 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.002458/1.235, allocations: 1.442 MB / 1.217 GB, free: 9.117 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001308/1.236, allocations: 0.5948 MB / 1.217 GB, free: 8.746 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001334/1.237, allocations: 0.507 MB / 1.218 GB, free: 8.441 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001288/1.239, allocations: 0.5393 MB / 1.218 GB, free: 8.059 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0004536/1.239, allocations: 119.6 kB / 1.219 GB, free: 8.059 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001494/1.241, allocations: 457.8 kB / 1.219 GB, free: 7.902 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0003805/1.241, allocations: 316.3 kB / 1.219 GB, free: 7.652 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0007813/1.242, allocations: 0.5911 MB / 1.22 GB, free: 7.215 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.002015/1.244, allocations: 1.253 MB / 1.221 GB, free: 6.324 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/1.244, allocations: 0 / 1.221 GB, free: 6.324 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.443e-06/1.244, allocations: 1.781 kB / 1.221 GB, free: 6.324 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 2.044e-05/1.244, allocations: 0 / 1.221 GB, free: 6.324 MB / 0.9356 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.003004/1.247, allocations: 1.478 MB / 1.223 GB, free: 5.168 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.169e-05/1.247, allocations: 8.625 kB / 1.223 GB, free: 5.168 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009646/1.248, allocations: 195.7 kB / 1.223 GB, free: 5.074 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001177/1.249, allocations: 0.7626 MB / 1.224 GB, free: 4.441 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.884e-05/1.249, allocations: 65.66 kB / 1.224 GB, free: 4.414 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001171/1.249, allocations: 92.75 kB / 1.224 GB, free: 4.383 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001689/1.251, allocations: 0.9677 MB / 1.225 GB, free: 3.758 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.338e-05/1.251, allocations: 4 kB / 1.225 GB, free: 3.754 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.795e-05/1.251, allocations: 37.22 kB / 1.225 GB, free: 3.727 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.047e-05/1.251, allocations: 22.81 kB / 1.225 GB, free: 3.727 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00199/1.253, allocations: 1.155 MB / 1.226 GB, free: 3.176 MB / 0.9356 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.004981/1.258, allocations: 2.873 MB / 1.229 GB, free: 348 kB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001645/1.26, allocations: 0.8527 MB / 1.229 GB, free: 15.48 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005875/1.261, allocations: 318.7 kB / 1.23 GB, free: 15.17 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 9.534e-05/1.261, allocations: 36.67 kB / 1.23 GB, free: 15.14 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001002/1.262, allocations: 0.539 MB / 1.23 GB, free: 14.58 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=88): time 2.374e-06/1.262, allocations: 4 kB / 1.23 GB, free: 14.57 MB / 0.9512 GB Notification: Performance of matching and sorting (n=88): time 0.003582/1.265, allocations: 1.286 MB / 1.232 GB, free: 13.26 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001293/1.265, allocations: 196.9 kB / 1.232 GB, free: 13.03 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009324/1.266, allocations: 0.6566 MB / 1.232 GB, free: 12.37 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 8.501e-05/1.266, allocations: 41.7 kB / 1.232 GB, free: 12.32 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.000362/1.267, allocations: 408.5 kB / 1.233 GB, free: 11.91 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002644/1.267, allocations: 287.8 kB / 1.233 GB, free: 11.63 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002907/1.267, allocations: 178.5 kB / 1.233 GB, free: 11.45 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0002134/1.268, allocations: 386.8 kB / 1.234 GB, free: 11.06 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005832/1.268, allocations: 293.8 kB / 1.234 GB, free: 10.77 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007075/1.269, allocations: 391.1 kB / 1.234 GB, free: 10.38 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00123/1.27, allocations: 0.6554 MB / 1.235 GB, free: 9.711 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/1.27, allocations: 0 / 1.235 GB, free: 9.711 MB / 0.9512 GB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002255/1.272, allocations: 0.9268 MB / 1.236 GB, free: 8.773 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.61e-05/1.272, allocations: 6.5 kB / 1.236 GB, free: 8.77 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.143e-05/1.272, allocations: 3.938 kB / 1.236 GB, free: 8.766 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006542/1.273, allocations: 84.8 kB / 1.236 GB, free: 8.68 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007618/1.274, allocations: 183.7 kB / 1.236 GB, free: 8.5 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002345/1.276, allocations: 1.633 MB / 1.238 GB, free: 6.727 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009723/1.277, allocations: 96.23 kB / 1.238 GB, free: 6.633 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.518e-05/1.277, allocations: 43.97 kB / 1.238 GB, free: 6.59 MB / 0.9512 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.0005903/1.278, allocations: 279.8 kB / 1.238 GB, free: 6.309 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002139/1.278, allocations: 86.88 kB / 1.238 GB, free: 6.223 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002769/1.281, allocations: 1.159 MB / 1.239 GB, free: 5.051 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.55e-05/1.281, allocations: 15.94 kB / 1.239 GB, free: 5.035 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/1.281, allocations: 7.938 kB / 1.239 GB, free: 5.027 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.109e-05/1.281, allocations: 3.984 kB / 1.239 GB, free: 5.023 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001315/1.282, allocations: 0.9463 MB / 1.24 GB, free: 4.023 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.958e-06/1.282, allocations: 0 / 1.24 GB, free: 4.023 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006504/1.283, allocations: 155.8 kB / 1.24 GB, free: 3.871 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000476/1.283, allocations: 68.8 kB / 1.24 GB, free: 3.801 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.215e-05/1.284, allocations: 31.97 kB / 1.241 GB, free: 3.77 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002118/1.286, allocations: 1.673 MB / 1.242 GB, free: 1.957 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/1.286, allocations: 0 / 1.242 GB, free: 1.957 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00225/1.288, allocations: 0.9903 MB / 1.243 GB, free: 0.9414 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004455/1.288, allocations: 283.6 kB / 1.243 GB, free: 0.6445 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001807/1.289, allocations: 20 kB / 1.243 GB, free: 0.625 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007625/1.289, allocations: 75.86 kB / 1.243 GB, free: 0.5508 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001897/1.29, allocations: 80.83 kB / 1.244 GB, free: 484 kB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.466e-05/1.29, allocations: 39.97 kB / 1.244 GB, free: 444 kB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0007305/1.29, allocations: 475 kB / 1.244 GB, free: 15.98 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.41e-07/1.29, allocations: 0 / 1.244 GB, free: 15.98 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.001071/1.291, allocations: 339.2 kB / 1.244 GB, free: 15.64 MB / 0.9669 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.002139/1.294, allocations: 0.6183 MB / 1.245 GB, free: 15.2 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.002815/1.296, allocations: 1.113 MB / 1.246 GB, free: 14.08 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 4.518e-06/1.296, allocations: 0 / 1.246 GB, free: 14.08 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.001091/1.298, allocations: 0.547 MB / 1.247 GB, free: 13.52 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001471/1.299, allocations: 299.6 kB / 1.247 GB, free: 13.25 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003894/1.303, allocations: 2.214 MB / 1.249 GB, free: 11 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007794/1.304, allocations: 1.043 MB / 1.25 GB, free: 9.93 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003865/1.304, allocations: 127.4 kB / 1.25 GB, free: 9.805 MB / 0.9669 GB Notification: Performance of SimCode: time 6.82e-07/1.304, allocations: 0 / 1.25 GB, free: 9.805 MB / 0.9669 GB Notification: Performance of Templates: time 0.03178/1.336, allocations: 19.31 MB / 1.269 GB, free: 6.551 MB / 0.9825 GB make -j1 -f Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.makefile (rm -f Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.sim & ./Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches