Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.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.BaseClasses.Examples.SolarHourAngle,fileNamePrefix="Buildings_10_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,fileNamePrefix="Buildings_10_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle",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.01146/0.01146, allocations: 99.34 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.00236/0.00236, allocations: 195.2 kB / 16.67 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.721/2.721, allocations: 222.9 MB / 240.4 MB, free: 4.297 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 4.774/4.774, allocations: 437 MB / 0.7105 GB, free: 5.008 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002826/0.002827, allocations: 63.89 kB / 1.018 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4704/0.4732, allocations: 151.6 MB / 1.166 GB, free: 7.312 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.02273/0.496, allocations: 4.793 MB / 1.171 GB, free: 2.488 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 1.475/1.971, allocations: 150.6 MB / 1.318 GB, free: 10.34 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001527/1.972, allocations: 19.59 kB / 1.318 GB, free: 10.34 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.001228/1.974, allocations: 178.3 kB / 1.318 GB, free: 10.24 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.003642/1.977, allocations: 0.5326 MB / 1.319 GB, free: 10 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.003975/1.981, allocations: 0.8296 MB / 1.319 GB, free: 9.844 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.004075/1.986, allocations: 1.367 MB / 1.321 GB, free: 9.59 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001973/1.988, allocations: 0.5673 MB / 1.321 GB, free: 9.445 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001574/1.989, allocations: 478.2 kB / 1.322 GB, free: 9.344 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001426/1.991, allocations: 0.4918 MB / 1.322 GB, free: 9.215 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0004632/1.991, allocations: 116.7 kB / 1.322 GB, free: 9.211 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002052/1.993, allocations: 483.9 kB / 1.323 GB, free: 9.184 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0005299/1.994, allocations: 293.2 kB / 1.323 GB, free: 9.125 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.001335/1.995, allocations: 0.5471 MB / 1.324 GB, free: 8.895 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.005451/2.001, allocations: 1.622 MB / 1.325 GB, free: 8.207 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 9.298e-06/2.001, allocations: 1.219 kB / 1.325 GB, free: 8.207 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.294e-06/2.001, allocations: 4 kB / 1.325 GB, free: 8.203 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.855e-05/2.001, allocations: 0 / 1.325 GB, free: 8.203 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: 208 * Number of variables: 208 Notification: Performance of Generate backend data structure: time 0.005681/2.006, allocations: 1.446 MB / 1.327 GB, free: 7.207 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 6.661e-05/2.006, allocations: 9.875 kB / 1.327 GB, free: 7.207 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003213/2.007, allocations: 131.9 kB / 1.327 GB, free: 7.117 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001641/2.008, allocations: 196.4 kB / 1.327 GB, free: 7.047 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002292/2.011, allocations: 0.7627 MB / 1.328 GB, free: 6.547 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001062/2.011, allocations: 63.72 kB / 1.328 GB, free: 6.52 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001776/2.011, allocations: 77.09 kB / 1.328 GB, free: 6.496 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003114/2.014, allocations: 0.9107 MB / 1.329 GB, free: 6.07 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.177e-05/2.014, allocations: 0 / 1.329 GB, free: 6.07 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001494/2.014, allocations: 34.75 kB / 1.329 GB, free: 6.047 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.323e-05/2.014, allocations: 19.25 kB / 1.329 GB, free: 6.047 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003546/2.018, allocations: 1.1 MB / 1.33 GB, free: 5.797 MB / 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.008174/2.026, allocations: 2.661 MB / 1.332 GB, free: 4.164 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00292/2.029, allocations: 0.8619 MB / 1.333 GB, free: 3.77 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009711/2.03, allocations: 302.7 kB / 1.334 GB, free: 3.656 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001365/2.03, allocations: 32.62 kB / 1.334 GB, free: 3.645 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001487/2.032, allocations: 499.6 kB / 1.334 GB, free: 3.434 MB / 1.014 GB Notification: Performance of pre-optimization done (n=79): time 4.919e-06/2.032, allocations: 1.375 kB / 1.334 GB, free: 3.434 MB / 1.014 GB Notification: Performance of matching and sorting (n=79): time 0.005575/2.037, allocations: 1.184 MB / 1.335 GB, free: 2.938 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002027/2.038, allocations: 193.4 kB / 1.335 GB, free: 2.715 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001707/2.039, allocations: 0.6156 MB / 1.336 GB, free: 2.445 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001979/2.04, allocations: 46.36 kB / 1.336 GB, free: 2.402 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006016/2.04, allocations: 398.9 kB / 1.336 GB, free: 2.09 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005548/2.041, allocations: 268.4 kB / 1.337 GB, free: 1.879 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004532/2.041, allocations: 143.3 kB / 1.337 GB, free: 1.812 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0003483/2.042, allocations: 393.9 kB / 1.337 GB, free: 1.461 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008816/2.043, allocations: 241 kB / 1.337 GB, free: 1.375 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00106/2.044, allocations: 354 kB / 1.338 GB, free: 1.195 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001843/2.046, allocations: 0.5743 MB / 1.338 GB, free: 0.9297 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.684e-06/2.046, allocations: 2.578 kB / 1.338 GB, free: 0.9297 MB / 1.014 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.003707/2.049, allocations: 0.7935 MB / 1.339 GB, free: 0.6016 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 3.172e-05/2.049, allocations: 5.719 kB / 1.339 GB, free: 0.6016 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.296e-05/2.049, allocations: 1.25 kB / 1.339 GB, free: 0.6016 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008709/2.05, allocations: 82.2 kB / 1.339 GB, free: 0.582 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001081/2.051, allocations: 153.3 kB / 1.339 GB, free: 0.5664 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003743/2.055, allocations: 1.632 MB / 1.341 GB, free: 15.03 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001506/2.057, allocations: 96.05 kB / 1.341 GB, free: 14.98 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000142/2.057, allocations: 27.23 kB / 1.341 GB, free: 14.97 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: 15 (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,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (85): * Single equations (assignments): 84 * 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.0008763/2.058, allocations: 259.2 kB / 1.341 GB, free: 14.78 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004461/2.058, allocations: 93.31 kB / 1.341 GB, free: 14.73 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004448/2.063, allocations: 1.046 MB / 1.342 GB, free: 14.3 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.153e-05/2.063, allocations: 13.53 kB / 1.342 GB, free: 14.3 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.104e-06/2.063, allocations: 0 / 1.342 GB, free: 14.3 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.201e-05/2.063, allocations: 5.859 kB / 1.342 GB, free: 14.3 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007134/2.07, allocations: 1.915 MB / 1.344 GB, free: 13.38 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.041e-05/2.07, allocations: 0 / 1.344 GB, free: 13.38 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001228/2.071, allocations: 141.7 kB / 1.344 GB, free: 13.37 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000836/2.072, allocations: 74.81 kB / 1.345 GB, free: 13.35 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001347/2.072, allocations: 25.95 kB / 1.345 GB, free: 13.34 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003648/2.076, allocations: 1.657 MB / 1.346 GB, free: 11.78 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.805e-06/2.076, allocations: 3.938 kB / 1.346 GB, free: 11.77 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004106/2.08, allocations: 0.9868 MB / 1.347 GB, free: 11.31 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000962/2.081, allocations: 280.4 kB / 1.347 GB, free: 11.11 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002885/2.081, allocations: 21.81 kB / 1.347 GB, free: 11.09 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001114/2.083, allocations: 64.8 kB / 1.347 GB, free: 11.08 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002816/2.083, allocations: 74.75 kB / 1.348 GB, free: 11.07 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001379/2.083, allocations: 31.11 kB / 1.348 GB, free: 11.06 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.001202/2.084, allocations: 453.9 kB / 1.348 GB, free: 10.86 MB / 1.029 GB Notification: Performance of sort global known variables: time 3.186e-06/2.084, allocations: 0 / 1.348 GB, free: 10.86 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.002134/2.086, allocations: 320.5 kB / 1.348 GB, free: 10.77 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: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (90): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.008101/2.094, allocations: 2.045 MB / 1.35 GB, free: 9.605 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.003946/2.098, allocations: 0.785 MB / 1.351 GB, free: 9.281 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 9.338e-06/2.099, allocations: 1.25 kB / 1.351 GB, free: 9.281 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.002022/2.101, allocations: 0.5139 MB / 1.352 GB, free: 9.035 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003057/2.104, allocations: 300.9 kB / 1.352 GB, free: 8.941 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02191/2.126, allocations: 6.156 MB / 1.358 GB, free: 5.785 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001084/2.127, allocations: 1.019 MB / 1.359 GB, free: 5.035 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.001767/2.129, allocations: 266.5 kB / 1.359 GB, free: 4.898 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001126/2.13, allocations: 378.2 kB / 1.359 GB, free: 4.598 MB / 1.029 GB Notification: Performance of SimCode: time 1.383e-06/2.13, allocations: 0 / 1.359 GB, free: 4.598 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2244/2.354, allocations: 21.32 MB / 1.38 GB, free: 9.09 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.18/25.53, allocations: 6.234 kB / 1.38 GB, free: 9.086 MB / 1.045 GB (rm -f Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle_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_BaseClasses_Examples_SolarHourAngle.fmu > Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches