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.007154/0.007154, allocations: 99.45 kB / 15.73 MB, free: 6.059 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.001683/0.001683, allocations: 197.4 kB / 16.68 MB, free: 5.969 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.312/1.312, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.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.406/2.406, allocations: 437 MB / 0.7105 GB, free: 4.336 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001306/0.001306, allocations: 60.12 kB / 1.018 GB, free: 9.922 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6516/0.6529, allocations: 151.6 MB / 1.166 GB, free: 3.965 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle): time 0.00762/0.6606, allocations: 6.945 MB / 1.173 GB, free: 12.98 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.2541/0.9148, allocations: 151.3 MB / 1.321 GB, free: 5.102 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001451/0.9163, allocations: 23.88 kB / 1.321 GB, free: 5.078 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.001369/0.9177, allocations: 253.5 kB / 1.321 GB, free: 4.828 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.004551/0.9223, allocations: 0.808 MB / 1.322 GB, free: 4.02 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.004402/0.9267, allocations: 0.998 MB / 1.323 GB, free: 3.027 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.004158/0.9309, allocations: 2.144 MB / 1.325 GB, free: 0.8711 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002643/0.9336, allocations: 1.025 MB / 1.326 GB, free: 15.8 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001991/0.9356, allocations: 0.8487 MB / 1.327 GB, free: 14.95 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002014/0.9377, allocations: 0.9025 MB / 1.327 GB, free: 14.04 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0006858/0.9384, allocations: 208 kB / 1.328 GB, free: 13.84 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002015/0.9404, allocations: 0.5621 MB / 1.328 GB, free: 13.28 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0007842/0.9412, allocations: 490.4 kB / 1.329 GB, free: 12.8 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.001798/0.9431, allocations: 0.9563 MB / 1.33 GB, free: 11.84 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.005093/0.9482, allocations: 2.581 MB / 1.332 GB, free: 9.246 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 7.124e-06/0.9482, allocations: 0 / 1.332 GB, free: 9.246 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.904e-06/0.9482, allocations: 0 / 1.332 GB, free: 9.246 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.259e-05/0.9483, allocations: 4 kB / 1.332 GB, free: 9.242 MB / 1.061 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.006897/0.9552, allocations: 2.11 MB / 1.334 GB, free: 7.062 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.325e-05/0.9553, allocations: 16.88 kB / 1.334 GB, free: 7.047 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005189/0.9559, allocations: 228 kB / 1.334 GB, free: 6.812 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001949/0.9578, allocations: 259.6 kB / 1.335 GB, free: 6.559 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002904/0.9607, allocations: 1.001 MB / 1.336 GB, free: 5.512 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001678/0.9609, allocations: 123.1 kB / 1.336 GB, free: 5.391 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004025/0.9614, allocations: 148 kB / 1.336 GB, free: 5.246 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005/0.9664, allocations: 1.576 MB / 1.337 GB, free: 3.613 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.431e-05/0.9665, allocations: 7.938 kB / 1.337 GB, free: 3.605 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002638/0.9668, allocations: 67.98 kB / 1.338 GB, free: 3.539 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.091e-05/0.9668, allocations: 40 kB / 1.338 GB, free: 3.5 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005132/0.972, allocations: 1.631 MB / 1.339 GB, free: 1.863 MB / 1.061 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.01287/0.9849, allocations: 4.549 MB / 1.344 GB, free: 13.14 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003998/0.9889, allocations: 1.194 MB / 1.345 GB, free: 11.95 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00153/0.9905, allocations: 487.6 kB / 1.345 GB, free: 11.47 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001727/0.9907, allocations: 49.06 kB / 1.345 GB, free: 11.42 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002267/0.993, allocations: 0.7768 MB / 1.346 GB, free: 10.62 MB / 1.076 GB Notification: Performance of pre-optimization done (n=128): time 5.42e-06/0.993, allocations: 0 / 1.346 GB, free: 10.62 MB / 1.076 GB Notification: Performance of matching and sorting (n=128): time 0.007782/1.001, allocations: 1.854 MB / 1.348 GB, free: 8.746 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001483/1.001, allocations: 201.2 kB / 1.348 GB, free: 8.508 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002127/1.003, allocations: 0.8694 MB / 1.349 GB, free: 7.613 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.0002502/1.003, allocations: 49.7 kB / 1.349 GB, free: 7.559 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007838/1.004, allocations: 0.6184 MB / 1.35 GB, free: 6.93 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006467/1.005, allocations: 432.4 kB / 1.35 GB, free: 6.504 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006542/1.006, allocations: 238.9 kB / 1.35 GB, free: 6.262 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001235/1.006, allocations: 353.9 kB / 1.351 GB, free: 5.91 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008549/1.007, allocations: 430.4 kB / 1.351 GB, free: 5.492 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009727/1.008, allocations: 0.5604 MB / 1.351 GB, free: 4.902 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001771/1.009, allocations: 0.9623 MB / 1.352 GB, free: 3.934 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.084e-06/1.009, allocations: 4 kB / 1.352 GB, free: 3.93 MB / 1.076 GB Notification: Performance of matching and sorting (n=151) (initialization): time 0.002927/1.012, allocations: 1.297 MB / 1.354 GB, free: 2.621 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.257e-05/1.012, allocations: 8.094 kB / 1.354 GB, free: 2.613 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.336e-06/1.012, allocations: 0 / 1.354 GB, free: 2.613 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005856/1.013, allocations: 84.77 kB / 1.354 GB, free: 2.527 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00113/1.014, allocations: 263.6 kB / 1.354 GB, free: 2.27 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002133/1.016, allocations: 1.648 MB / 1.356 GB, free: 492 kB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001184/1.017, allocations: 145.6 kB / 1.356 GB, free: 348 kB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001612/1.018, allocations: 51.95 kB / 1.356 GB, free: 296 kB / 1.076 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.000697/1.018, allocations: 348.7 kB / 1.356 GB, free: 15.94 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003166/1.019, allocations: 127.3 kB / 1.356 GB, free: 15.82 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003773/1.022, allocations: 1.71 MB / 1.358 GB, free: 14.09 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.267e-05/1.022, allocations: 12 kB / 1.358 GB, free: 14.08 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.638e-06/1.022, allocations: 0 / 1.358 GB, free: 14.08 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.769e-05/1.022, allocations: 11.97 kB / 1.358 GB, free: 14.07 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001812/1.024, allocations: 1.412 MB / 1.359 GB, free: 12.6 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.458e-06/1.024, allocations: 0 / 1.359 GB, free: 12.6 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009496/1.025, allocations: 211.7 kB / 1.36 GB, free: 12.39 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004606/1.026, allocations: 80.78 kB / 1.36 GB, free: 12.31 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001256/1.026, allocations: 39.91 kB / 1.36 GB, free: 12.27 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001858/1.028, allocations: 1.674 MB / 1.361 GB, free: 10.46 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/1.028, allocations: 3.938 kB / 1.361 GB, free: 10.45 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002972/1.031, allocations: 1.411 MB / 1.363 GB, free: 9.023 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000683/1.031, allocations: 383.8 kB / 1.363 GB, free: 8.629 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002608/1.032, allocations: 39.89 kB / 1.363 GB, free: 8.59 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001011/1.033, allocations: 83.91 kB / 1.363 GB, free: 8.508 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002307/1.033, allocations: 117.1 kB / 1.363 GB, free: 8.391 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001306/1.033, allocations: 51.97 kB / 1.363 GB, free: 8.34 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0009606/1.034, allocations: 0.6502 MB / 1.364 GB, free: 7.68 MB / 1.092 GB Notification: Performance of sort global known variables: time 2.41e-07/1.034, allocations: 4 kB / 1.364 GB, free: 7.676 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.001216/1.035, allocations: 494.7 kB / 1.364 GB, free: 7.191 MB / 1.092 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.004513/1.04, allocations: 2.492 MB / 1.367 GB, free: 4.836 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.002573/1.042, allocations: 1.236 MB / 1.368 GB, free: 3.59 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 4.468e-06/1.043, allocations: 0 / 1.368 GB, free: 3.59 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.001385/1.044, allocations: 0.7519 MB / 1.369 GB, free: 2.824 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001653/1.046, allocations: 350.5 kB / 1.369 GB, free: 2.5 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01577/1.061, allocations: 9.329 MB / 1.378 GB, free: 9.016 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008632/1.062, allocations: 1.236 MB / 1.379 GB, free: 7.746 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.001134/1.063, allocations: 342.1 kB / 1.38 GB, free: 7.41 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000909/1.064, allocations: 0.6241 MB / 1.38 GB, free: 6.785 MB / 1.107 GB Notification: Performance of SimCode: time 7.51e-07/1.064, allocations: 0 / 1.38 GB, free: 6.785 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06075/1.125, allocations: 31.17 MB / 1.411 GB, free: 7.867 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.29/14.41, allocations: 0 / 1.411 GB, free: 7.867 MB / 1.139 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