Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.WallSolarAzimuth,fileNamePrefix="Buildings_10_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_WallSolarAzimuth",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth,fileNamePrefix="Buildings_10_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.007566/0.007566, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001865/0.001865, allocations: 202.8 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.374/1.374, allocations: 222.9 MB / 240.4 MB, free: 4.332 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.521/2.521, allocations: 437 MB / 0.7105 GB, free: 5.047 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001353/0.001353, allocations: 63.91 kB / 1.018 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2424/0.2438, allocations: 151.6 MB / 1.166 GB, free: 7.34 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth): time 0.006712/0.2505, allocations: 5.369 MB / 1.171 GB, free: 1.938 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.6578/0.9083, allocations: 150.8 MB / 1.319 GB, free: 9.871 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007426/0.9091, allocations: 16.47 kB / 1.319 GB, free: 9.867 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0005706/0.9097, allocations: 210.5 kB / 1.319 GB, free: 9.75 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.001707/0.9114, allocations: 0.6082 MB / 1.319 GB, free: 9.477 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.001922/0.9134, allocations: 0.8984 MB / 1.32 GB, free: 9.305 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.001608/0.915, allocations: 1.561 MB / 1.322 GB, free: 9 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009043/0.9159, allocations: 0.6741 MB / 1.323 GB, free: 8.824 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00079/0.9167, allocations: 0.5701 MB / 1.323 GB, free: 8.703 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006533/0.9174, allocations: 0.5922 MB / 1.324 GB, free: 8.551 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0001753/0.9176, allocations: 135.6 kB / 1.324 GB, free: 8.551 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009685/0.9185, allocations: 0.5157 MB / 1.324 GB, free: 8.516 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0003228/0.9189, allocations: 335.5 kB / 1.325 GB, free: 8.336 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0005852/0.9195, allocations: 0.653 MB / 1.325 GB, free: 7.902 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.00222/0.9217, allocations: 1.856 MB / 1.327 GB, free: 7.121 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.9217, allocations: 5.438 kB / 1.327 GB, free: 7.117 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.883e-06/0.9217, allocations: 0.9844 kB / 1.327 GB, free: 7.117 MB / 1.014 GB Notification: Performance of Transformations before backend: time 2.252e-05/0.9217, allocations: 1.5 kB / 1.327 GB, free: 7.117 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: 255 * Number of variables: 255 Notification: Performance of Generate backend data structure: time 0.002986/0.9247, allocations: 1.626 MB / 1.329 GB, free: 6.016 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.614e-05/0.9248, allocations: 9.406 kB / 1.329 GB, free: 6.016 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001991/0.925, allocations: 156 kB / 1.329 GB, free: 5.914 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001023/0.926, allocations: 208.8 kB / 1.329 GB, free: 5.84 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001395/0.9274, allocations: 0.8247 MB / 1.33 GB, free: 5.301 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.939e-05/0.9275, allocations: 79.75 kB / 1.33 GB, free: 5.266 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001385/0.9276, allocations: 96.59 kB / 1.33 GB, free: 5.234 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001914/0.9296, allocations: 1.068 MB / 1.331 GB, free: 4.73 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.367e-05/0.9296, allocations: 4.812 kB / 1.331 GB, free: 4.727 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001014/0.9297, allocations: 42.03 kB / 1.331 GB, free: 4.695 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.113e-05/0.9297, allocations: 25.19 kB / 1.331 GB, free: 4.695 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001989/0.9317, allocations: 1.228 MB / 1.332 GB, free: 4.398 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.004743/0.9365, allocations: 3.164 MB / 1.335 GB, free: 2.5 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00163/0.9381, allocations: 0.8926 MB / 1.336 GB, free: 2.156 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005944/0.9387, allocations: 345.8 kB / 1.337 GB, free: 2.027 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 8.816e-05/0.9388, allocations: 40.39 kB / 1.337 GB, free: 2.012 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009563/0.9398, allocations: 0.5496 MB / 1.337 GB, free: 1.781 MB / 1.014 GB Notification: Performance of pre-optimization done (n=92): time 5.38e-06/0.9398, allocations: 5.203 kB / 1.337 GB, free: 1.777 MB / 1.014 GB Notification: Performance of matching and sorting (n=92): time 0.003543/0.9434, allocations: 1.347 MB / 1.338 GB, free: 1.219 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.761e-05/0.9435, allocations: 196.1 kB / 1.339 GB, free: 0.9922 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008729/0.9444, allocations: 0.6795 MB / 1.339 GB, free: 0.6953 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 8.288e-05/0.9444, allocations: 43.23 kB / 1.339 GB, free: 0.6523 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003282/0.9448, allocations: 456.1 kB / 1.34 GB, free: 304 kB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002295/0.945, allocations: 314.2 kB / 1.34 GB, free: 52 kB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002705/0.9453, allocations: 170.2 kB / 1.34 GB, free: 15.97 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001562/0.9455, allocations: 393.5 kB / 1.341 GB, free: 15.62 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005749/0.946, allocations: 282.4 kB / 1.341 GB, free: 15.52 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000688/0.9467, allocations: 404.3 kB / 1.341 GB, free: 15.32 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00126/0.948, allocations: 0.667 MB / 1.342 GB, free: 15.01 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.948, allocations: 0 / 1.342 GB, free: 15.01 MB / 1.029 GB Notification: Performance of matching and sorting (n=103) (initialization): time 0.002144/0.9502, allocations: 0.9113 MB / 1.343 GB, free: 14.64 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.811e-05/0.9502, allocations: 9.438 kB / 1.343 GB, free: 14.63 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.904e-06/0.9502, allocations: 1.25 kB / 1.343 GB, free: 14.63 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006017/0.9508, allocations: 83.06 kB / 1.343 GB, free: 14.61 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007575/0.9516, allocations: 180.8 kB / 1.343 GB, free: 14.59 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002005/0.9536, allocations: 1.628 MB / 1.345 GB, free: 13.06 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008734/0.9545, allocations: 103.2 kB / 1.345 GB, free: 13.01 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.484e-05/0.9546, allocations: 37.78 kB / 1.345 GB, free: 13 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: 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.0005206/0.9551, allocations: 286.2 kB / 1.345 GB, free: 12.79 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002087/0.9553, allocations: 99.61 kB / 1.345 GB, free: 12.73 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002725/0.9581, allocations: 1.219 MB / 1.346 GB, free: 12.25 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.969e-06/0.9581, allocations: 11.53 kB / 1.346 GB, free: 12.25 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.9581, allocations: 7.734 kB / 1.346 GB, free: 12.25 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.138e-05/0.9581, allocations: 4.172 kB / 1.346 GB, free: 12.25 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001213/0.9593, allocations: 1.023 MB / 1.347 GB, free: 11.72 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.709e-06/0.9594, allocations: 4 kB / 1.347 GB, free: 11.72 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006887/0.9601, allocations: 167.2 kB / 1.348 GB, free: 11.7 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004533/0.9605, allocations: 70.98 kB / 1.348 GB, free: 11.69 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.504e-05/0.9606, allocations: 29.3 kB / 1.348 GB, free: 11.67 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001833/0.9624, allocations: 1.663 MB / 1.349 GB, free: 10.12 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/0.9625, allocations: 3.938 kB / 1.349 GB, free: 10.11 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002307/0.9648, allocations: 1.046 MB / 1.35 GB, free: 9.676 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004811/0.9653, allocations: 301.9 kB / 1.351 GB, free: 9.461 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001547/0.9654, allocations: 28.2 kB / 1.351 GB, free: 9.441 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007189/0.9662, allocations: 69.25 kB / 1.351 GB, free: 9.426 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001486/0.9663, allocations: 82.86 kB / 1.351 GB, free: 9.414 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.945e-05/0.9664, allocations: 37.73 kB / 1.351 GB, free: 9.41 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0006402/0.967, allocations: 0.4931 MB / 1.351 GB, free: 9.191 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9671, allocations: 0 / 1.351 GB, free: 9.191 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.001053/0.9681, allocations: 372.9 kB / 1.352 GB, free: 9.09 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: 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.003763/0.9719, allocations: 2.128 MB / 1.354 GB, free: 7.934 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001806/0.9737, allocations: 0.8957 MB / 1.355 GB, free: 7.566 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.937e-06/0.9737, allocations: 2.531 kB / 1.355 GB, free: 7.566 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0009738/0.9747, allocations: 0.577 MB / 1.355 GB, free: 7.301 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001339/0.9761, allocations: 311 kB / 1.355 GB, free: 7.199 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01077/0.9868, allocations: 6.857 MB / 1.362 GB, free: 3.203 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005722/0.9874, allocations: 1.077 MB / 1.363 GB, free: 2.336 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.000924/0.9884, allocations: 309.1 kB / 1.364 GB, free: 2.18 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005969/0.989, allocations: 439.5 kB / 1.364 GB, free: 1.828 MB / 1.029 GB Notification: Performance of SimCode: time 9.32e-07/0.989, allocations: 0 / 1.364 GB, free: 1.828 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04685/1.036, allocations: 24.09 MB / 1.387 GB, free: 1.816 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.54/13.57, allocations: 0.5625 kB / 1.387 GB, free: 1.816 MB / 1.045 GB (rm -f Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_WallSolarAzimuth.fmu > Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_WallSolarAzimuth.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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