Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.ZenithAngle,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle",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.006083/0.006084, allocations: 102.8 kB / 15.73 MB, free: 5.547 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.001089/0.001089, allocations: 190.2 kB / 16.67 MB, free: 5.477 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.275/1.275, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.492/2.492, allocations: 461.9 MB / 0.7348 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001472/0.001472, allocations: 71.91 kB / 1.054 GB, free: 8.188 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7576/0.7591, allocations: 157.4 MB / 1.207 GB, free: 13.53 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle): time 0.006554/0.7657, allocations: 4.915 MB / 1.212 GB, free: 8.594 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.1526/0.9183, allocations: 150.6 MB / 1.359 GB, free: 1.367 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000934/0.9193, allocations: 15.94 kB / 1.359 GB, free: 1.352 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0007617/0.9201, allocations: 194.2 kB / 1.359 GB, free: 1.16 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.002231/0.9224, allocations: 0.5472 MB / 1.36 GB, free: 0.6133 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.002519/0.9249, allocations: 0.856 MB / 1.361 GB, free: 15.76 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.001797/0.9267, allocations: 1.436 MB / 1.362 GB, free: 14.32 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001032/0.9278, allocations: 0.5754 MB / 1.363 GB, free: 13.73 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009264/0.9287, allocations: 0.5061 MB / 1.363 GB, free: 13.22 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007657/0.9295, allocations: 0.5134 MB / 1.364 GB, free: 12.7 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0002704/0.9297, allocations: 120 kB / 1.364 GB, free: 12.59 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001033/0.9308, allocations: 491.6 kB / 1.364 GB, free: 12.11 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0003598/0.9312, allocations: 303 kB / 1.365 GB, free: 11.81 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0007277/0.9319, allocations: 0.5791 MB / 1.365 GB, free: 11.23 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.002043/0.934, allocations: 1.666 MB / 1.367 GB, free: 9.555 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 4.419e-06/0.934, allocations: 0 / 1.367 GB, free: 9.555 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.473e-06/0.934, allocations: 4 kB / 1.367 GB, free: 9.551 MB / 1.092 GB Notification: Performance of Transformations before backend: time 4.469e-05/0.934, allocations: 0 / 1.367 GB, free: 9.551 MB / 1.092 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 217 * Number of variables: 217 Notification: Performance of Generate backend data structure: time 0.00295/0.937, allocations: 1.459 MB / 1.368 GB, free: 8.035 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.197e-05/0.937, allocations: 12.03 kB / 1.368 GB, free: 8.023 MB / 1.092 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001943/0.9372, allocations: 139.5 kB / 1.368 GB, free: 7.879 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000971/0.9382, allocations: 191.3 kB / 1.369 GB, free: 7.691 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001393/0.9396, allocations: 0.7623 MB / 1.369 GB, free: 6.887 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.883e-05/0.9397, allocations: 77.92 kB / 1.369 GB, free: 6.812 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001328/0.9398, allocations: 88 kB / 1.369 GB, free: 6.727 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001671/0.9415, allocations: 0.9456 MB / 1.37 GB, free: 5.738 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.966e-05/0.9416, allocations: 0 / 1.37 GB, free: 5.738 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000103/0.9417, allocations: 36 kB / 1.37 GB, free: 5.703 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.259e-05/0.9417, allocations: 24 kB / 1.37 GB, free: 5.68 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001702/0.9434, allocations: 1.12 MB / 1.371 GB, free: 4.562 MB / 1.092 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.003963/0.9474, allocations: 2.724 MB / 1.374 GB, free: 1.719 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001493/0.9489, allocations: 0.913 MB / 1.375 GB, free: 0.7734 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005239/0.9494, allocations: 317.8 kB / 1.375 GB, free: 472 kB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 7.534e-05/0.9495, allocations: 32.67 kB / 1.375 GB, free: 440 kB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008728/0.9504, allocations: 0.5081 MB / 1.376 GB, free: 15.9 MB / 1.107 GB Notification: Performance of pre-optimization done (n=84): time 4.308e-06/0.9504, allocations: 0 / 1.376 GB, free: 15.9 MB / 1.107 GB Notification: Performance of matching and sorting (n=84): time 0.003272/0.9537, allocations: 1.259 MB / 1.377 GB, free: 14.61 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.096e-05/0.9538, allocations: 192.9 kB / 1.377 GB, free: 14.38 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009066/0.9547, allocations: 0.6411 MB / 1.378 GB, free: 13.73 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 8.671e-05/0.9548, allocations: 45.7 kB / 1.378 GB, free: 13.68 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003122/0.9551, allocations: 404.3 kB / 1.378 GB, free: 13.29 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002192/0.9554, allocations: 272.1 kB / 1.379 GB, free: 13.02 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002385/0.9556, allocations: 150.5 kB / 1.379 GB, free: 12.86 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001538/0.9558, allocations: 390.8 kB / 1.379 GB, free: 12.47 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004935/0.9563, allocations: 253.9 kB / 1.379 GB, free: 12.22 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005925/0.9569, allocations: 378.4 kB / 1.38 GB, free: 11.83 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001055/0.9579, allocations: 0.6047 MB / 1.38 GB, free: 11.21 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/0.958, allocations: 4 kB / 1.38 GB, free: 11.21 MB / 1.107 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.001916/0.9599, allocations: 0.8253 MB / 1.381 GB, free: 10.38 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.959e-05/0.9599, allocations: 7.938 kB / 1.381 GB, free: 10.37 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.9599, allocations: 0 / 1.381 GB, free: 10.37 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006016/0.9605, allocations: 80.88 kB / 1.381 GB, free: 10.29 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006484/0.9612, allocations: 163.7 kB / 1.381 GB, free: 10.12 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002027/0.9632, allocations: 1.621 MB / 1.383 GB, free: 8.363 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007125/0.964, allocations: 99.31 kB / 1.383 GB, free: 8.266 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.803e-05/0.964, allocations: 35.98 kB / 1.383 GB, free: 8.23 MB / 1.107 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,decAng.tNext,$PRE.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 (91): * Single equations (assignments): 90 * 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.000415/0.9645, allocations: 269.6 kB / 1.383 GB, free: 7.957 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001958/0.9647, allocations: 82.97 kB / 1.383 GB, free: 7.875 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002416/0.9671, allocations: 1.14 MB / 1.385 GB, free: 6.711 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.062e-05/0.9671, allocations: 12 kB / 1.385 GB, free: 6.699 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.868e-06/0.9671, allocations: 0 / 1.385 GB, free: 6.699 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.031e-05/0.9671, allocations: 7.984 kB / 1.385 GB, free: 6.691 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003247/0.9704, allocations: 2.017 MB / 1.387 GB, free: 4.617 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.282e-06/0.9704, allocations: 4 kB / 1.387 GB, free: 4.613 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006056/0.971, allocations: 155.7 kB / 1.387 GB, free: 4.461 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004398/0.9715, allocations: 76.78 kB / 1.387 GB, free: 4.383 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.558e-05/0.9715, allocations: 31.97 kB / 1.387 GB, free: 4.352 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001826/0.9734, allocations: 1.65 MB / 1.388 GB, free: 2.559 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.9734, allocations: 0 / 1.388 GB, free: 2.559 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002021/0.9754, allocations: 1.053 MB / 1.389 GB, free: 1.484 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003943/0.9758, allocations: 275.7 kB / 1.39 GB, free: 1.195 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001577/0.976, allocations: 27.98 kB / 1.39 GB, free: 1.168 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006952/0.9767, allocations: 60.08 kB / 1.39 GB, free: 1.109 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001496/0.9769, allocations: 80.88 kB / 1.39 GB, free: 1.031 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.237e-05/0.9769, allocations: 43.97 kB / 1.39 GB, free: 0.9883 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.0005582/0.9775, allocations: 467 kB / 1.39 GB, free: 0.5352 MB / 1.107 GB Notification: Performance of sort global known variables: time 1.253e-06/0.9775, allocations: 0 / 1.39 GB, free: 0.5352 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.0008728/0.9784, allocations: 327.2 kB / 1.391 GB, free: 220 kB / 1.107 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,decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 6 (decAng.tNext,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 (99): * Single equations (assignments): 92 * 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.003494/0.9819, allocations: 2.104 MB / 1.393 GB, free: 14.27 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.001668/0.9836, allocations: 0.8196 MB / 1.393 GB, free: 13.43 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 3.437e-06/0.9836, allocations: 0 / 1.393 GB, free: 13.43 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0009307/0.9845, allocations: 0.551 MB / 1.394 GB, free: 12.87 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001269/0.9858, allocations: 307.5 kB / 1.394 GB, free: 12.59 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01015/0.996, allocations: 6.357 MB / 1.401 GB, free: 6.078 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006466/0.9966, allocations: 1.036 MB / 1.402 GB, free: 5.008 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.0008814/0.9975, allocations: 271 kB / 1.402 GB, free: 4.738 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006008/0.9982, allocations: 407.2 kB / 1.402 GB, free: 4.344 MB / 1.123 GB Notification: Performance of SimCode: time 1.132e-06/0.9982, allocations: 0 / 1.402 GB, free: 4.344 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0504/1.049, allocations: 22.7 MB / 1.424 GB, free: 13.99 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.3/13.35, allocations: 6.109 kB / 1.424 GB, free: 13.99 MB / 1.154 GB (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle_fmu --startTime=100000 --stopTime=300000 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle.fmu > Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches