Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.BoundaryConditions.SolarGeometry.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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle,fileNamePrefix="Buildings_10_Buildings_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle,fileNamePrefix="Buildings_10_Buildings_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001554/0.001554, allocations: 112.5 kB / 15.73 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001852/0.001852, allocations: 189.3 kB / 16.67 MB, free: 6.582 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.341/1.341, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.603/2.603, allocations: 437 MB / 0.7105 GB, free: 5.062 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001204/0.001204, allocations: 63.89 kB / 1.018 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2392/0.2404, allocations: 151.6 MB / 1.166 GB, free: 7.371 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle): time 0.007888/0.2483, allocations: 6.943 MB / 1.173 GB, free: 400 kB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.6671/0.9154, allocations: 151.3 MB / 1.321 GB, free: 8.781 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009901/0.9165, allocations: 18.53 kB / 1.321 GB, free: 8.777 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0007793/0.9173, allocations: 262.3 kB / 1.321 GB, free: 8.625 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.002528/0.9199, allocations: 0.8017 MB / 1.322 GB, free: 8.242 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.002323/0.9222, allocations: 0.9941 MB / 1.323 GB, free: 8.07 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.002635/0.9248, allocations: 2.144 MB / 1.325 GB, free: 7.617 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001489/0.9263, allocations: 1.029 MB / 1.326 GB, free: 7.07 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001409/0.9278, allocations: 0.847 MB / 1.327 GB, free: 6.645 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001311/0.9291, allocations: 0.9079 MB / 1.327 GB, free: 6.16 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0003967/0.9295, allocations: 207.6 kB / 1.328 GB, free: 6.16 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001318/0.9308, allocations: 0.56 MB / 1.328 GB, free: 6.047 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0004909/0.9313, allocations: 490 kB / 1.329 GB, free: 5.723 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.001128/0.9325, allocations: 0.9585 MB / 1.33 GB, free: 5.094 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0034/0.9359, allocations: 2.575 MB / 1.332 GB, free: 4 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 7.725e-06/0.9359, allocations: 4 kB / 1.332 GB, free: 3.996 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.473e-06/0.9359, allocations: 3.938 kB / 1.332 GB, free: 3.992 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.98e-05/0.936, allocations: 1.219 kB / 1.332 GB, free: 3.992 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 392 * Number of variables: 392 Notification: Performance of Generate backend data structure: time 0.004665/0.9407, allocations: 2.11 MB / 1.334 GB, free: 2.621 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.162e-05/0.9407, allocations: 17.52 kB / 1.334 GB, free: 2.613 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002861/0.941, allocations: 226.6 kB / 1.334 GB, free: 2.469 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001133/0.9422, allocations: 270.8 kB / 1.335 GB, free: 2.359 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001723/0.9439, allocations: 0.9923 MB / 1.336 GB, free: 1.719 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001007/0.944, allocations: 115 kB / 1.336 GB, free: 1.668 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002171/0.9442, allocations: 152.5 kB / 1.336 GB, free: 1.617 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002895/0.9471, allocations: 1.586 MB / 1.337 GB, free: 0.9297 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.85e-05/0.9472, allocations: 0 / 1.337 GB, free: 0.9297 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001448/0.9473, allocations: 63.69 kB / 1.338 GB, free: 0.8828 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.86e-05/0.9474, allocations: 40.25 kB / 1.338 GB, free: 0.8828 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002763/0.9501, allocations: 1.636 MB / 1.339 GB, free: 448 kB / 1.014 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.007059/0.9572, allocations: 4.554 MB / 1.344 GB, free: 13.76 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002182/0.9594, allocations: 1.198 MB / 1.345 GB, free: 13.28 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008359/0.9603, allocations: 476.2 kB / 1.345 GB, free: 13.09 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001103/0.9604, allocations: 51.03 kB / 1.345 GB, free: 13.07 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00131/0.9617, allocations: 0.7774 MB / 1.346 GB, free: 12.77 MB / 1.029 GB Notification: Performance of pre-optimization done (n=128): time 2.835e-06/0.9617, allocations: 0 / 1.346 GB, free: 12.77 MB / 1.029 GB Notification: Performance of matching and sorting (n=128): time 0.004491/0.9662, allocations: 1.847 MB / 1.348 GB, free: 12.01 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001019/0.9664, allocations: 199.1 kB / 1.348 GB, free: 11.79 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001225/0.9676, allocations: 0.8655 MB / 1.349 GB, free: 11.41 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0001573/0.9678, allocations: 57.39 kB / 1.349 GB, free: 11.36 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004863/0.9683, allocations: 0.6215 MB / 1.35 GB, free: 10.87 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003643/0.9686, allocations: 425.5 kB / 1.35 GB, free: 10.54 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003729/0.969, allocations: 239.4 kB / 1.35 GB, free: 10.43 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001458/0.9692, allocations: 353.4 kB / 1.351 GB, free: 10.11 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009369/0.9701, allocations: 429.8 kB / 1.351 GB, free: 9.945 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009969/0.9711, allocations: 0.5581 MB / 1.351 GB, free: 9.676 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001793/0.9729, allocations: 0.9666 MB / 1.352 GB, free: 9.219 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.9729, allocations: 0 / 1.352 GB, free: 9.219 MB / 1.029 GB Notification: Performance of matching and sorting (n=151) (initialization): time 0.00291/0.9758, allocations: 1.305 MB / 1.354 GB, free: 8.605 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.033e-05/0.9759, allocations: 5.688 kB / 1.354 GB, free: 8.605 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.025e-05/0.9759, allocations: 1.094 kB / 1.354 GB, free: 8.605 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005804/0.9765, allocations: 86.12 kB / 1.354 GB, free: 8.562 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001087/0.9776, allocations: 256.6 kB / 1.354 GB, free: 8.496 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002024/0.9796, allocations: 1.656 MB / 1.356 GB, free: 6.875 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001202/0.9808, allocations: 145.6 kB / 1.356 GB, free: 6.777 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001017/0.9809, allocations: 56.17 kB / 1.356 GB, free: 6.754 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 30 (incAngEas.decAng.tNext,$PRE.incAngEas.decAng.tNext,incAngSou.decAng.tNext,$PRE.incAngSou.decAng.tNext,incAngWes.decAng.tNext,$PRE.incAngWes.decAng.tNext,incAngNor.decAng.tNext,$PRE.incAngNor.decAng.tNext,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,incAngHor.decAng.tNext,$PRE.incAngHor.decAng.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition10) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (149): * Single equations (assignments): 148 * 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.000648/0.9816, allocations: 340.7 kB / 1.356 GB, free: 6.504 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002523/0.9819, allocations: 131.1 kB / 1.356 GB, free: 6.434 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003674/0.9855, allocations: 1.708 MB / 1.358 GB, free: 5.48 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.347e-05/0.9856, allocations: 13.5 kB / 1.358 GB, free: 5.48 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.64e-06/0.9856, allocations: 5.172 kB / 1.358 GB, free: 5.477 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.591e-05/0.9856, allocations: 3.984 kB / 1.358 GB, free: 5.473 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001809/0.9874, allocations: 1.418 MB / 1.359 GB, free: 4.43 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.851e-06/0.9874, allocations: 0 / 1.359 GB, free: 4.43 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009286/0.9884, allocations: 218.1 kB / 1.36 GB, free: 4.379 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004415/0.9888, allocations: 76.34 kB / 1.36 GB, free: 4.34 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001011/0.9889, allocations: 38.41 kB / 1.36 GB, free: 4.312 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001839/0.9908, allocations: 1.673 MB / 1.361 GB, free: 2.691 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/0.9908, allocations: 4 kB / 1.361 GB, free: 2.688 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00274/0.9936, allocations: 1.413 MB / 1.363 GB, free: 1.961 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005816/0.9941, allocations: 383.8 kB / 1.363 GB, free: 1.633 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002123/0.9944, allocations: 41.41 kB / 1.363 GB, free: 1.602 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009448/0.9953, allocations: 85.78 kB / 1.363 GB, free: 1.559 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002119/0.9955, allocations: 111.7 kB / 1.363 GB, free: 1.496 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000105/0.9957, allocations: 57.89 kB / 1.363 GB, free: 1.473 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0008315/0.9965, allocations: 0.6465 MB / 1.364 GB, free: 1.102 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.7e-07/0.9965, allocations: 0 / 1.364 GB, free: 1.102 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.001179/0.9977, allocations: 487.2 kB / 1.364 GB, free: 0.9648 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,incAngHor.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,incAngNor.decAng.tNext,incAngWes.decAng.tNext,incAngSou.decAng.tNext,incAngEas.decAng.tNext) * Number of discrete states: 10 (incAngHor.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,incAngNor.decAng.tNext,incAngWes.decAng.tNext,incAngSou.decAng.tNext,incAngEas.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (144): * Single equations (assignments): 133 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.004279/1.002, allocations: 2.499 MB / 1.367 GB, free: 15.49 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.00241/1.004, allocations: 1.239 MB / 1.368 GB, free: 14.86 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 6.493e-06/1.004, allocations: 4.188 kB / 1.368 GB, free: 14.86 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.001291/1.006, allocations: 0.7409 MB / 1.369 GB, free: 14.46 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001578/1.007, allocations: 357.4 kB / 1.369 GB, free: 14.28 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01498/1.022, allocations: 9.328 MB / 1.378 GB, free: 8.812 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007672/1.023, allocations: 1.242 MB / 1.379 GB, free: 7.871 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.001133/1.024, allocations: 337.7 kB / 1.38 GB, free: 7.711 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008947/1.025, allocations: 0.6258 MB / 1.38 GB, free: 7.188 MB / 1.045 GB Notification: Performance of SimCode: time 7.71e-07/1.025, allocations: 4 kB / 1.38 GB, free: 7.184 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06314/1.088, allocations: 31.16 MB / 1.411 GB, free: 9.758 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.22/14.31, allocations: 13.61 kB / 1.411 GB, free: 9.75 MB / 1.076 GB (rm -f Buildings_10_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle_res.csv --start-time 0 --stop-time 86400 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 Buildings_10_Buildings_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle.fmu > Buildings_10_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches