Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.SolarGeometry.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.ZenithAngle,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_SolarGeometry_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.007167/0.007167, allocations: 101.2 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.001723/0.001723, allocations: 197.3 kB / 16.67 MB, free: 5.984 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.295/1.295, allocations: 222.9 MB / 240.4 MB, free: 4.188 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.264/2.264, allocations: 390.2 MB / 0.6648 GB, free: 192 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001211/0.001211, allocations: 61.5 kB / 0.9503 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2458/0.247, allocations: 140.4 MB / 1.087 GB, free: 2.035 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.006209/0.2532, allocations: 4.314 MB / 1.092 GB, free: 13.7 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.1535/0.4067, allocations: 150.5 MB / 1.239 GB, free: 6.559 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006729/0.4075, allocations: 19.88 kB / 1.239 GB, free: 6.539 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0006223/0.4081, allocations: 170.4 kB / 1.239 GB, free: 6.371 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.001696/0.4098, allocations: 0.5159 MB / 1.239 GB, free: 5.855 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001951/0.4118, allocations: 0.8286 MB / 1.24 GB, free: 5.035 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.00151/0.4133, allocations: 1.293 MB / 1.241 GB, free: 3.734 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009636/0.4143, allocations: 0.6295 MB / 1.242 GB, free: 3.082 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006725/0.415, allocations: 474.4 kB / 1.242 GB, free: 2.617 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006673/0.4156, allocations: 493.8 kB / 1.243 GB, free: 2.133 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.000224/0.4159, allocations: 120 kB / 1.243 GB, free: 2.016 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009153/0.4168, allocations: 483.6 kB / 1.244 GB, free: 1.543 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003165/0.4171, allocations: 299.1 kB / 1.244 GB, free: 1.25 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0005871/0.4177, allocations: 0.5401 MB / 1.244 GB, free: 0.707 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001963/0.4197, allocations: 1.628 MB / 1.246 GB, free: 15.07 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.4197, allocations: 0 / 1.246 GB, free: 15.07 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.303e-06/0.4197, allocations: 0 / 1.246 GB, free: 15.07 MB / 1.014 GB Notification: Performance of Transformations before backend: time 3.427e-05/0.4198, allocations: 0 / 1.246 GB, free: 15.07 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: 211 * Number of variables: 211 Notification: Performance of Generate backend data structure: time 0.002732/0.4225, allocations: 1.411 MB / 1.247 GB, free: 13.61 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.848e-05/0.4226, allocations: 12.03 kB / 1.247 GB, free: 13.6 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001832/0.4227, allocations: 135.4 kB / 1.247 GB, free: 13.46 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009572/0.4237, allocations: 183.4 kB / 1.248 GB, free: 13.28 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001224/0.4249, allocations: 0.7576 MB / 1.248 GB, free: 12.48 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.086e-05/0.425, allocations: 69.98 kB / 1.248 GB, free: 12.41 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000119/0.4251, allocations: 80 kB / 1.249 GB, free: 12.34 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001587/0.4267, allocations: 0.9222 MB / 1.249 GB, free: 11.38 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.007e-05/0.4268, allocations: 0 / 1.249 GB, free: 11.38 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.072e-05/0.4269, allocations: 32 kB / 1.249 GB, free: 11.34 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.883e-05/0.4269, allocations: 20 kB / 1.249 GB, free: 11.32 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001847/0.4287, allocations: 1.116 MB / 1.251 GB, free: 10.2 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003957/0.4327, allocations: 2.488 MB / 1.253 GB, free: 7.648 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001608/0.4343, allocations: 0.8886 MB / 1.254 GB, free: 6.738 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005277/0.4349, allocations: 306.7 kB / 1.254 GB, free: 6.438 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 6.899e-05/0.435, allocations: 28.61 kB / 1.254 GB, free: 6.41 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008178/0.4358, allocations: 495.1 kB / 1.255 GB, free: 5.906 MB / 1.014 GB Notification: Performance of pre-optimization done (n=79): time 2.415e-06/0.4358, allocations: 3.938 kB / 1.255 GB, free: 5.902 MB / 1.014 GB Notification: Performance of matching and sorting (n=79): time 0.003058/0.4389, allocations: 1.198 MB / 1.256 GB, free: 4.676 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.27e-05/0.439, allocations: 188.6 kB / 1.256 GB, free: 4.449 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008226/0.4398, allocations: 0.6253 MB / 1.257 GB, free: 3.816 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 8.072e-05/0.4399, allocations: 49.7 kB / 1.257 GB, free: 3.762 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003011/0.4402, allocations: 396.3 kB / 1.257 GB, free: 3.367 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002046/0.4404, allocations: 248.4 kB / 1.257 GB, free: 3.121 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002299/0.4406, allocations: 146.5 kB / 1.257 GB, free: 2.969 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001617/0.4408, allocations: 386.7 kB / 1.258 GB, free: 2.582 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005252/0.4413, allocations: 245.9 kB / 1.258 GB, free: 2.344 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000616/0.442, allocations: 362.5 kB / 1.258 GB, free: 1.961 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001107/0.4431, allocations: 0.5838 MB / 1.259 GB, free: 1.363 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.665e-06/0.4431, allocations: 4.062 kB / 1.259 GB, free: 1.359 MB / 1.014 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001864/0.445, allocations: 0.8019 MB / 1.26 GB, free: 0.5508 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.712e-05/0.445, allocations: 4 kB / 1.26 GB, free: 0.5469 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.816e-06/0.445, allocations: 4 kB / 1.26 GB, free: 0.543 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005831/0.4456, allocations: 84.8 kB / 1.26 GB, free: 468 kB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006058/0.4462, allocations: 151.7 kB / 1.26 GB, free: 316 kB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4476/0.8938, allocations: 1.632 MB / 1.262 GB, free: 172.4 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007671/0.8946, allocations: 87.94 kB / 1.262 GB, free: 172.4 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.9e-05/0.8947, allocations: 31.23 kB / 1.262 GB, free: 172.4 MB / 1.014 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.000391/0.8951, allocations: 265.8 kB / 1.262 GB, free: 172.3 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001585/0.8953, allocations: 82.03 kB / 1.262 GB, free: 172.3 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002317/0.8976, allocations: 1.062 MB / 1.263 GB, free: 172.2 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.077e-06/0.8976, allocations: 11.66 kB / 1.263 GB, free: 172.2 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.876e-06/0.8976, allocations: 0.8438 kB / 1.263 GB, free: 172.2 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.072e-05/0.8976, allocations: 4.547 kB / 1.263 GB, free: 172.2 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00303/0.9007, allocations: 1.961 MB / 1.265 GB, free: 171.7 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.928e-06/0.9007, allocations: 1 kB / 1.265 GB, free: 171.7 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005627/0.9012, allocations: 139.8 kB / 1.265 GB, free: 171.7 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004384/0.9017, allocations: 71.94 kB / 1.265 GB, free: 171.6 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.277e-05/0.9017, allocations: 27.47 kB / 1.265 GB, free: 171.6 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001535/0.9033, allocations: 1.671 MB / 1.267 GB, free: 170.1 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.9033, allocations: 2.969 kB / 1.267 GB, free: 170.1 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001897/0.9052, allocations: 0.9949 MB / 1.268 GB, free: 169.7 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003006/0.9055, allocations: 276.1 kB / 1.268 GB, free: 169.5 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001062/0.9056, allocations: 18.47 kB / 1.268 GB, free: 169.5 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006305/0.9063, allocations: 63.75 kB / 1.268 GB, free: 169.5 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001438/0.9064, allocations: 66.83 kB / 1.268 GB, free: 169.4 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.079e-05/0.9065, allocations: 42.25 kB / 1.268 GB, free: 169.4 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0005165/0.907, allocations: 454.1 kB / 1.269 GB, free: 169.2 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.6e-07/0.907, allocations: 3.688 kB / 1.269 GB, free: 169.2 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0007975/0.9078, allocations: 311.3 kB / 1.269 GB, free: 169.2 MB / 1.014 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.0032/0.911, allocations: 2.039 MB / 1.271 GB, free: 168.1 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.00156/0.9126, allocations: 0.802 MB / 1.272 GB, free: 167.8 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.9126, allocations: 0.9062 kB / 1.272 GB, free: 167.8 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0009007/0.9135, allocations: 0.5089 MB / 1.272 GB, free: 167.5 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001168/0.9147, allocations: 295.5 kB / 1.273 GB, free: 167.4 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01028/0.925, allocations: 6.302 MB / 1.279 GB, free: 164.3 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004635/0.9255, allocations: 1.015 MB / 1.28 GB, free: 163.6 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0007449/0.9262, allocations: 264.9 kB / 1.28 GB, free: 163.5 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004322/0.9267, allocations: 371.2 kB / 1.28 GB, free: 163.2 MB / 1.014 GB Notification: Performance of SimCode: time 5.41e-07/0.9267, allocations: 0 / 1.28 GB, free: 163.2 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04217/0.9689, allocations: 21.12 MB / 1.301 GB, free: 156.6 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.53/12.5, allocations: 5.344 kB / 1.301 GB, free: 156.6 MB / 1.014 GB (rm -f Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle_res.csv --start-time 100000 --stop-time 300000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 80 Buildings_9_Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle.fmu > Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches