Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00184/0.00184, allocations: 114.3 kB / 18.94 MB, free: 2.934 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00161/0.00161, allocations: 211.7 kB / 22.25 MB, free: 5.086 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.474/1.474, allocations: 230.6 MB / 256 MB, free: 8.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.737/2.737, allocations: 476.8 MB / 0.7707 GB, free: 4.242 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,fileNamePrefix="Buildings_11_Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,fileNamePrefix="Buildings_11_Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002027/0.002027, allocations: 70.5 kB / 1.117 GB, free: 40.4 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2953/0.2974, allocations: 170 MB / 1.283 GB, free: 11.72 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.007673/0.305, allocations: 4.918 MB / 1.288 GB, free: 6.785 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.1861/0.4911, allocations: 154.1 MB / 1.439 GB, free: 12.08 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009442/0.4921, allocations: 23.81 kB / 1.439 GB, free: 12.05 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.0008529/0.4929, allocations: 198.1 kB / 1.439 GB, free: 11.86 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.002151/0.4951, allocations: 0.5607 MB / 1.439 GB, free: 11.3 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.002433/0.4975, allocations: 0.8824 MB / 1.44 GB, free: 10.42 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.00263/0.5001, allocations: 1.405 MB / 1.442 GB, free: 9.008 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001221/0.5014, allocations: 417.8 kB / 1.442 GB, free: 8.574 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001262/0.5026, allocations: 0.5139 MB / 1.443 GB, free: 8.059 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001065/0.5037, allocations: 0.5096 MB / 1.443 GB, free: 7.547 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0003626/0.5041, allocations: 120 kB / 1.443 GB, free: 7.43 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001526/0.5056, allocations: 0.5113 MB / 1.444 GB, free: 6.918 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0004505/0.506, allocations: 303 kB / 1.444 GB, free: 6.621 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0009693/0.507, allocations: 0.5597 MB / 1.444 GB, free: 6.059 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.003087/0.5101, allocations: 1.697 MB / 1.446 GB, free: 4.355 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.5101, allocations: 0 / 1.446 GB, free: 4.355 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.703e-06/0.5101, allocations: 0 / 1.446 GB, free: 4.355 MB / 1.139 GB Notification: Performance of Transformations before backend: time 4.971e-05/0.5101, allocations: 3.938 kB / 1.446 GB, free: 4.352 MB / 1.139 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.003466/0.5136, allocations: 1.415 MB / 1.448 GB, free: 2.902 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 6.469e-05/0.5137, allocations: 12.03 kB / 1.448 GB, free: 2.891 MB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001791/0.5139, allocations: 135.3 kB / 1.448 GB, free: 2.75 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001723/0.5156, allocations: 244 kB / 1.448 GB, free: 2.512 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001611/0.5172, allocations: 0.7064 MB / 1.449 GB, free: 1.781 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.643e-05/0.5173, allocations: 62 kB / 1.449 GB, free: 1.719 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001485/0.5174, allocations: 91.91 kB / 1.449 GB, free: 1.629 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001831/0.5192, allocations: 0.9184 MB / 1.45 GB, free: 0.6719 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.015e-05/0.5193, allocations: 0 / 1.45 GB, free: 0.6719 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.356e-05/0.5194, allocations: 40 kB / 1.45 GB, free: 0.6328 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.965e-05/0.5194, allocations: 20 kB / 1.45 GB, free: 0.6133 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001953/0.5213, allocations: 1.112 MB / 1.451 GB, free: 15.5 MB / 1.154 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.004857/0.5262, allocations: 2.674 MB / 1.453 GB, free: 12.71 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001676/0.5279, allocations: 0.7696 MB / 1.454 GB, free: 11.94 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005744/0.5284, allocations: 282.7 kB / 1.454 GB, free: 11.66 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 8.641e-05/0.5285, allocations: 24.61 kB / 1.454 GB, free: 11.63 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009623/0.5295, allocations: 0.4929 MB / 1.455 GB, free: 11.12 MB / 1.154 GB Notification: Performance of pre-optimization done (n=79): time 2.976e-06/0.5295, allocations: 3.938 kB / 1.455 GB, free: 11.12 MB / 1.154 GB Notification: Performance of matching and sorting (n=79): time 0.00327/0.5328, allocations: 1.119 MB / 1.456 GB, free: 9.992 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001286/0.5329, allocations: 192.5 kB / 1.456 GB, free: 9.762 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001052/0.5339, allocations: 0.645 MB / 1.457 GB, free: 9.105 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 9.579e-05/0.534, allocations: 45.69 kB / 1.457 GB, free: 9.055 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003703/0.5344, allocations: 401 kB / 1.457 GB, free: 8.656 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002712/0.5347, allocations: 273.7 kB / 1.458 GB, free: 8.387 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002422/0.5349, allocations: 142.6 kB / 1.458 GB, free: 8.238 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.000209/0.5351, allocations: 394.7 kB / 1.458 GB, free: 7.844 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005433/0.5357, allocations: 249.9 kB / 1.458 GB, free: 7.602 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006782/0.5364, allocations: 346.6 kB / 1.459 GB, free: 7.238 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001176/0.5375, allocations: 0.5877 MB / 1.459 GB, free: 6.637 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.5375, allocations: 0 / 1.459 GB, free: 6.637 MB / 1.154 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.002182/0.5397, allocations: 0.8062 MB / 1.46 GB, free: 5.82 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.284e-05/0.5397, allocations: 4 kB / 1.46 GB, free: 5.816 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.856e-06/0.5398, allocations: 0 / 1.46 GB, free: 5.816 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006526/0.5404, allocations: 88.8 kB / 1.46 GB, free: 5.727 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006239/0.541, allocations: 147.8 kB / 1.46 GB, free: 5.582 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00232/0.5433, allocations: 1.543 MB / 1.462 GB, free: 3.918 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007921/0.5441, allocations: 94.95 kB / 1.462 GB, free: 3.828 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.754e-05/0.5442, allocations: 27.97 kB / 1.462 GB, free: 3.801 MB / 1.154 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.0005494/0.5448, allocations: 269.6 kB / 1.462 GB, free: 3.527 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002707/0.5451, allocations: 87.44 kB / 1.462 GB, free: 3.441 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002634/0.5477, allocations: 1.073 MB / 1.463 GB, free: 2.352 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.384e-05/0.5477, allocations: 11.94 kB / 1.463 GB, free: 2.34 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.5477, allocations: 0 / 1.463 GB, free: 2.34 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.009e-05/0.5477, allocations: 7.984 kB / 1.463 GB, free: 2.332 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003889/0.5516, allocations: 1.951 MB / 1.465 GB, free: 336 kB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.109e-06/0.5516, allocations: 4 kB / 1.465 GB, free: 332 kB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009438/0.5526, allocations: 139.8 kB / 1.465 GB, free: 192 kB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006964/0.5533, allocations: 76.78 kB / 1.465 GB, free: 112 kB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.749e-05/0.5533, allocations: 19.98 kB / 1.465 GB, free: 92 kB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002605/0.5559, allocations: 1.562 MB / 1.467 GB, free: 14.41 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.392e-06/0.5559, allocations: 4.062 kB / 1.467 GB, free: 14.4 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003069/0.559, allocations: 1.006 MB / 1.468 GB, free: 13.38 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007419/0.5598, allocations: 211 kB / 1.468 GB, free: 13.17 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002231/0.56, allocations: 20 kB / 1.468 GB, free: 13.15 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001043/0.561, allocations: 63.92 kB / 1.468 GB, free: 13.09 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000176/0.5612, allocations: 68.88 kB / 1.468 GB, free: 13.02 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.234e-05/0.5613, allocations: 40.11 kB / 1.468 GB, free: 12.98 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0008735/0.5622, allocations: 475 kB / 1.469 GB, free: 12.52 MB / 1.17 GB Notification: Performance of sort global known variables: time 1.8e-07/0.5622, allocations: 0 / 1.469 GB, free: 12.52 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.001219/0.5634, allocations: 319.2 kB / 1.469 GB, free: 12.21 MB / 1.17 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.00536/0.5687, allocations: 2.047 MB / 1.471 GB, free: 10.32 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.00258/0.5713, allocations: 0.7726 MB / 1.472 GB, free: 9.531 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 6.342e-06/0.5713, allocations: 0 / 1.472 GB, free: 9.531 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.001471/0.5728, allocations: 0.4925 MB / 1.472 GB, free: 9.027 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002124/0.5749, allocations: 316 kB / 1.473 GB, free: 8.742 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01521/0.5901, allocations: 6.273 MB / 1.479 GB, free: 2.316 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008932/0.591, allocations: 1.021 MB / 1.48 GB, free: 1.262 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.001113/0.5921, allocations: 258.7 kB / 1.48 GB, free: 1.004 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007923/0.5929, allocations: 387.3 kB / 1.48 GB, free: 0.625 MB / 1.17 GB Notification: Performance of SimCode: time 1.292e-06/0.5929, allocations: 0 / 1.48 GB, free: 0.625 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08016/0.6731, allocations: 22.52 MB / 1.502 GB, free: 10.34 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.21/14.88, allocations: 9.984 kB / 1.502 GB, free: 10.34 MB / 1.201 GB " [Timeout remaining time 284] (rm -f Buildings_11_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle_res.mat --tempDir=temp_Buildings_11_Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle_fmu --startTime=100000 --stopTime=300000 --stepSize=80 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle.fmu > Buildings_11_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 21.61008402192965]