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.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.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.007443/0.007443, allocations: 99.81 kB / 15.73 MB, free: 6.055 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.001893/0.001893, allocations: 192.6 kB / 16.67 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.286/1.286, allocations: 222.9 MB / 240.4 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.543/2.543, allocations: 469.4 MB / 0.7422 GB, free: 3.578 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001377/0.001377, allocations: 59.89 kB / 1.064 GB, free: 14.32 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6705/0.6718, allocations: 159.1 MB / 1.22 GB, free: 2.309 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle): time 0.006118/0.678, allocations: 4.913 MB / 1.225 GB, free: 13.37 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.1407/0.8187, allocations: 150.6 MB / 1.372 GB, free: 6.141 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007187/0.8194, allocations: 15.94 kB / 1.372 GB, free: 6.125 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.0006314/0.8201, allocations: 190.2 kB / 1.372 GB, free: 5.938 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.001755/0.8219, allocations: 0.5665 MB / 1.372 GB, free: 5.371 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.001848/0.8237, allocations: 0.8552 MB / 1.373 GB, free: 4.523 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.00142/0.8252, allocations: 1.433 MB / 1.375 GB, free: 3.086 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008153/0.826, allocations: 0.5935 MB / 1.375 GB, free: 2.469 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006475/0.8266, allocations: 0.5022 MB / 1.376 GB, free: 1.965 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006163/0.8273, allocations: 0.5173 MB / 1.376 GB, free: 1.445 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.000194/0.8275, allocations: 120 kB / 1.376 GB, free: 1.328 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007832/0.8283, allocations: 491.6 kB / 1.377 GB, free: 0.8477 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0002618/0.8285, allocations: 303.1 kB / 1.377 GB, free: 0.5508 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0005125/0.8291, allocations: 0.5714 MB / 1.378 GB, free: 15.97 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.001706/0.8308, allocations: 1.674 MB / 1.379 GB, free: 14.3 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.8308, allocations: 0 / 1.379 GB, free: 14.3 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.172e-06/0.8308, allocations: 0 / 1.379 GB, free: 14.3 MB / 1.107 GB Notification: Performance of Transformations before backend: time 2.936e-05/0.8308, allocations: 0 / 1.379 GB, free: 14.3 MB / 1.107 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.002686/0.8335, allocations: 1.506 MB / 1.381 GB, free: 12.73 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 3.482e-05/0.8336, allocations: 12.62 kB / 1.381 GB, free: 12.72 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000158/0.8337, allocations: 139.5 kB / 1.381 GB, free: 12.58 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009323/0.8347, allocations: 192 kB / 1.381 GB, free: 12.39 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001156/0.8358, allocations: 0.7824 MB / 1.382 GB, free: 11.57 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.959e-05/0.8359, allocations: 58 kB / 1.382 GB, free: 11.51 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001113/0.836, allocations: 84 kB / 1.382 GB, free: 11.43 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001557/0.8376, allocations: 0.9379 MB / 1.383 GB, free: 10.45 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.913e-05/0.8376, allocations: 4 kB / 1.383 GB, free: 10.45 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.517e-05/0.8377, allocations: 40 kB / 1.383 GB, free: 10.41 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.753e-05/0.8377, allocations: 20 kB / 1.383 GB, free: 10.39 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001742/0.8395, allocations: 1.128 MB / 1.384 GB, free: 9.258 MB / 1.107 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.003815/0.8433, allocations: 2.744 MB / 1.387 GB, free: 6.398 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001565/0.8449, allocations: 0.9045 MB / 1.388 GB, free: 5.469 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005595/0.8454, allocations: 310.7 kB / 1.388 GB, free: 5.164 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 7.032e-05/0.8455, allocations: 36.67 kB / 1.388 GB, free: 5.129 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008619/0.8464, allocations: 0.5123 MB / 1.388 GB, free: 4.602 MB / 1.107 GB Notification: Performance of pre-optimization done (n=84): time 2.244e-06/0.8464, allocations: 3.938 kB / 1.388 GB, free: 4.598 MB / 1.107 GB Notification: Performance of matching and sorting (n=84): time 0.003243/0.8496, allocations: 1.259 MB / 1.39 GB, free: 3.312 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.165e-05/0.8497, allocations: 188.9 kB / 1.39 GB, free: 3.086 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007366/0.8505, allocations: 0.6449 MB / 1.39 GB, free: 2.43 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 6.574e-05/0.8506, allocations: 45.7 kB / 1.391 GB, free: 2.379 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002733/0.8508, allocations: 401.1 kB / 1.391 GB, free: 1.98 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001973/0.851, allocations: 285.6 kB / 1.391 GB, free: 1.699 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002314/0.8513, allocations: 158.5 kB / 1.391 GB, free: 1.539 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001476/0.8514, allocations: 390.7 kB / 1.392 GB, free: 1.148 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005323/0.852, allocations: 253.9 kB / 1.392 GB, free: 0.8984 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006328/0.8526, allocations: 374.5 kB / 1.392 GB, free: 0.5078 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001142/0.8538, allocations: 0.6048 MB / 1.393 GB, free: 15.89 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.8538, allocations: 0 / 1.393 GB, free: 15.89 MB / 1.123 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.001965/0.8558, allocations: 0.8297 MB / 1.394 GB, free: 15.05 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.9e-05/0.8558, allocations: 10.28 kB / 1.394 GB, free: 15.04 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.185e-06/0.8558, allocations: 4.062 kB / 1.394 GB, free: 15.04 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006016/0.8564, allocations: 84.84 kB / 1.394 GB, free: 14.95 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006738/0.8571, allocations: 163.7 kB / 1.394 GB, free: 14.79 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001988/0.8591, allocations: 1.626 MB / 1.396 GB, free: 13.02 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007299/0.8598, allocations: 91.5 kB / 1.396 GB, free: 12.93 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.674e-05/0.8599, allocations: 40.03 kB / 1.396 GB, free: 12.89 MB / 1.123 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.0003993/0.8603, allocations: 261.8 kB / 1.396 GB, free: 12.62 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001809/0.8605, allocations: 91.42 kB / 1.396 GB, free: 12.54 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002528/0.863, allocations: 1.14 MB / 1.397 GB, free: 11.38 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.045e-05/0.8631, allocations: 12 kB / 1.397 GB, free: 11.37 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.905e-06/0.8631, allocations: 0 / 1.397 GB, free: 11.37 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.719e-06/0.8631, allocations: 7.984 kB / 1.397 GB, free: 11.36 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003421/0.8665, allocations: 2.017 MB / 1.399 GB, free: 9.285 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.947e-06/0.8665, allocations: 0 / 1.399 GB, free: 9.285 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000616/0.8672, allocations: 155.7 kB / 1.399 GB, free: 9.133 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004492/0.8676, allocations: 76.8 kB / 1.399 GB, free: 9.055 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.744e-05/0.8677, allocations: 31.97 kB / 1.399 GB, free: 9.023 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00182/0.8695, allocations: 1.67 MB / 1.401 GB, free: 7.211 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.8695, allocations: 0 / 1.401 GB, free: 7.211 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002069/0.8716, allocations: 1.053 MB / 1.402 GB, free: 6.137 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003932/0.872, allocations: 288.2 kB / 1.402 GB, free: 5.836 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001408/0.8722, allocations: 16 kB / 1.402 GB, free: 5.82 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007331/0.8729, allocations: 63.92 kB / 1.402 GB, free: 5.758 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001464/0.8731, allocations: 76.89 kB / 1.402 GB, free: 5.684 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.638e-05/0.8731, allocations: 39.98 kB / 1.402 GB, free: 5.645 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0005814/0.8737, allocations: 471 kB / 1.403 GB, free: 5.191 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.61e-07/0.8737, allocations: 0 / 1.403 GB, free: 5.191 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.0008713/0.8746, allocations: 331.1 kB / 1.403 GB, free: 4.867 MB / 1.123 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.003612/0.8782, allocations: 2.11 MB / 1.405 GB, free: 2.906 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.001724/0.88, allocations: 0.8312 MB / 1.406 GB, free: 2.066 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.88, allocations: 0 / 1.406 GB, free: 2.066 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0009447/0.8809, allocations: 0.5433 MB / 1.407 GB, free: 1.512 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00123/0.8822, allocations: 311.4 kB / 1.407 GB, free: 1.223 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009943/0.8921, allocations: 6.406 MB / 1.413 GB, free: 10.66 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005848/0.8927, allocations: 1.032 MB / 1.414 GB, free: 9.598 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.0007758/0.8935, allocations: 271 kB / 1.414 GB, free: 9.328 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005512/0.8941, allocations: 407.2 kB / 1.415 GB, free: 8.93 MB / 1.139 GB Notification: Performance of SimCode: time 2.51e-07/0.8941, allocations: 3.938 kB / 1.415 GB, free: 8.926 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04627/0.9404, allocations: 22.24 MB / 1.437 GB, free: 3.027 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.41/13.35, allocations: 21.28 kB / 1.437 GB, free: 3.012 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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.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_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.csv","/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