Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.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-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/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.WallSolarAzimuth,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_WallSolarAzimuth",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_WallSolarAzimuth",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.00187/0.00187, allocations: 108.6 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.002093/0.002093, allocations: 187.3 kB / 16.66 MB, free: 6.59 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.336/1.336, allocations: 222.9 MB / 240.4 MB, free: 4.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.686/2.686, allocations: 469.4 MB / 0.7421 GB, free: 7.633 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001476/0.001476, allocations: 68.11 kB / 1.064 GB, free: 13.94 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2557/0.2572, allocations: 159.1 MB / 1.22 GB, free: 14.7 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth): time 0.006653/0.2639, allocations: 5.347 MB / 1.225 GB, free: 9.328 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.7006/0.9645, allocations: 150.8 MB / 1.372 GB, free: 11.05 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008888/0.9655, allocations: 19.62 kB / 1.372 GB, free: 11.05 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.000794/0.9663, allocations: 207 kB / 1.372 GB, free: 10.91 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.002141/0.9685, allocations: 0.6132 MB / 1.373 GB, free: 10.55 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.002074/0.9705, allocations: 0.89 MB / 1.374 GB, free: 10.09 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.001684/0.9722, allocations: 1.562 MB / 1.375 GB, free: 9.285 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008913/0.9731, allocations: 0.6653 MB / 1.376 GB, free: 8.934 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007068/0.9739, allocations: 0.5742 MB / 1.377 GB, free: 8.645 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005997/0.9745, allocations: 0.5907 MB / 1.377 GB, free: 8.336 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0001685/0.9746, allocations: 135.9 kB / 1.377 GB, free: 8.336 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009929/0.9756, allocations: 0.5129 MB / 1.378 GB, free: 8.211 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0002887/0.9759, allocations: 341.6 kB / 1.378 GB, free: 7.992 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0005513/0.9765, allocations: 0.6493 MB / 1.379 GB, free: 7.562 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.002103/0.9786, allocations: 1.868 MB / 1.381 GB, free: 6.418 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.9786, allocations: 1.188 kB / 1.381 GB, free: 6.418 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.623e-06/0.9786, allocations: 0 / 1.381 GB, free: 6.418 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.662e-05/0.9787, allocations: 7.75 kB / 1.381 GB, free: 6.414 MB / 1.076 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 255 * Number of variables: 255 Notification: Performance of Generate backend data structure: time 0.002767/0.9814, allocations: 1.624 MB / 1.382 GB, free: 5.137 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.336e-05/0.9815, allocations: 9.062 kB / 1.382 GB, free: 5.137 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001928/0.9817, allocations: 159.9 kB / 1.382 GB, free: 5.008 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001019/0.9827, allocations: 207.2 kB / 1.383 GB, free: 4.906 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001336/0.9841, allocations: 0.8229 MB / 1.383 GB, free: 4.234 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.843e-05/0.9841, allocations: 79.22 kB / 1.383 GB, free: 4.195 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001464/0.9843, allocations: 96.53 kB / 1.384 GB, free: 4.164 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001902/0.9862, allocations: 1.066 MB / 1.385 GB, free: 3.465 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.368e-05/0.9862, allocations: 0 / 1.385 GB, free: 3.465 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.798e-05/0.9863, allocations: 42.12 kB / 1.385 GB, free: 3.434 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.14e-05/0.9864, allocations: 24.75 kB / 1.385 GB, free: 3.434 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001985/0.9884, allocations: 1.225 MB / 1.386 GB, free: 2.848 MB / 1.076 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.00471/0.9931, allocations: 3.169 MB / 1.389 GB, free: 324 kB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001655/0.9947, allocations: 0.9008 MB / 1.39 GB, free: 15.86 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006087/0.9954, allocations: 345.5 kB / 1.39 GB, free: 15.68 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 7.973e-05/0.9955, allocations: 37.41 kB / 1.39 GB, free: 15.67 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000949/0.9964, allocations: 0.5466 MB / 1.391 GB, free: 15.32 MB / 1.092 GB Notification: Performance of pre-optimization done (n=92): time 2.344e-06/0.9964, allocations: 1.812 kB / 1.391 GB, free: 15.32 MB / 1.092 GB Notification: Performance of matching and sorting (n=92): time 0.003383/0.9998, allocations: 1.347 MB / 1.392 GB, free: 14.59 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.53e-05/0.9999, allocations: 195 kB / 1.392 GB, free: 14.37 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008122/1.001, allocations: 0.6841 MB / 1.393 GB, free: 13.97 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 6.9e-05/1.001, allocations: 42.33 kB / 1.393 GB, free: 13.93 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003028/1.001, allocations: 460.5 kB / 1.393 GB, free: 13.52 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002143/1.001, allocations: 311.5 kB / 1.394 GB, free: 13.25 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002521/1.002, allocations: 172.8 kB / 1.394 GB, free: 13.15 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001451/1.002, allocations: 391.1 kB / 1.394 GB, free: 12.78 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005761/1.002, allocations: 283.2 kB / 1.394 GB, free: 12.64 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000682/1.003, allocations: 408.4 kB / 1.395 GB, free: 12.38 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001217/1.004, allocations: 0.6603 MB / 1.396 GB, free: 12.03 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/1.004, allocations: 0 / 1.396 GB, free: 12.03 MB / 1.092 GB Notification: Performance of matching and sorting (n=103) (initialization): time 0.002034/1.006, allocations: 0.9082 MB / 1.396 GB, free: 11.56 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 1.558e-05/1.006, allocations: 9.531 kB / 1.396 GB, free: 11.56 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.126e-06/1.006, allocations: 8.266 kB / 1.396 GB, free: 11.55 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005797/1.007, allocations: 80.78 kB / 1.396 GB, free: 11.52 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007354/1.008, allocations: 180 kB / 1.397 GB, free: 11.47 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002023/1.01, allocations: 1.631 MB / 1.398 GB, free: 9.867 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007714/1.011, allocations: 101.4 kB / 1.398 GB, free: 9.801 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.486e-05/1.011, allocations: 38.53 kB / 1.398 GB, free: 9.785 MB / 1.092 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 18 (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,incAng.decAng.tNext,$PRE.incAng.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 (101): * Single equations (assignments): 100 * 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.0003862/1.011, allocations: 287.4 kB / 1.399 GB, free: 9.562 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001783/1.011, allocations: 94.92 kB / 1.399 GB, free: 9.512 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002728/1.014, allocations: 1.226 MB / 1.4 GB, free: 8.836 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.268e-06/1.014, allocations: 10.66 kB / 1.4 GB, free: 8.836 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/1.014, allocations: 1.156 kB / 1.4 GB, free: 8.836 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.131e-05/1.014, allocations: 3.984 kB / 1.4 GB, free: 8.832 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001139/1.015, allocations: 1.028 MB / 1.401 GB, free: 8.059 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.12e-06/1.015, allocations: 0 / 1.401 GB, free: 8.059 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006896/1.016, allocations: 169.2 kB / 1.401 GB, free: 8.02 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004489/1.016, allocations: 67.45 kB / 1.401 GB, free: 7.988 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.86e-05/1.016, allocations: 36.97 kB / 1.401 GB, free: 7.961 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001816/1.018, allocations: 1.662 MB / 1.403 GB, free: 6.336 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/1.018, allocations: 3.938 kB / 1.403 GB, free: 6.332 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002131/1.02, allocations: 1.044 MB / 1.404 GB, free: 5.785 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004428/1.021, allocations: 305.6 kB / 1.404 GB, free: 5.52 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001645/1.021, allocations: 30.55 kB / 1.404 GB, free: 5.496 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007435/1.022, allocations: 65.62 kB / 1.404 GB, free: 5.465 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001441/1.022, allocations: 79.62 kB / 1.404 GB, free: 5.426 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.512e-05/1.022, allocations: 48.03 kB / 1.404 GB, free: 5.406 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0005845/1.023, allocations: 0.4889 MB / 1.405 GB, free: 5.125 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.11e-07/1.023, allocations: 0 / 1.405 GB, free: 5.125 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.000933/1.023, allocations: 374.1 kB / 1.405 GB, free: 5.016 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: 12 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,incAng.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 6 (incAng.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 (107): * Single equations (assignments): 100 * 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.003714/1.027, allocations: 2.128 MB / 1.407 GB, free: 3.719 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.001681/1.029, allocations: 0.8975 MB / 1.408 GB, free: 3.254 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 4.699e-06/1.029, allocations: 0 / 1.408 GB, free: 3.254 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0009667/1.03, allocations: 0.58 MB / 1.409 GB, free: 2.93 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001235/1.031, allocations: 326.8 kB / 1.409 GB, free: 2.766 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01098/1.042, allocations: 6.855 MB / 1.416 GB, free: 12.49 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000609/1.043, allocations: 1.075 MB / 1.417 GB, free: 11.39 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.0008743/1.044, allocations: 299.6 kB / 1.417 GB, free: 11.09 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006306/1.044, allocations: 439.2 kB / 1.417 GB, free: 10.66 MB / 1.107 GB Notification: Performance of SimCode: time 3.21e-07/1.044, allocations: 0 / 1.417 GB, free: 10.66 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04692/1.091, allocations: 24.1 MB / 1.441 GB, free: 2.93 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.59/13.68, allocations: 10.95 kB / 1.441 GB, free: 2.922 MB / 1.123 GB (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth_res.csv --start-time 0 --stop-time 86400 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_WallSolarAzimuth.fmu > Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_WallSolarAzimuth.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "Warning: Resultfile and Reference have different end time points! Reffile[501]=86400.000000 File[27]=1002.240000 " Variables in the reference:time,walSolAzi.verAzi Variables in the result:time,altAng.alt,incAng.y,walSolAzi.verAzi,weaBus.HDifHor,weaBus.HDirNor