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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001587/0.001587, allocations: 109.2 kB / 16.45 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001779/0.001779, allocations: 191.8 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.361/1.361, allocations: 225.6 MB / 247.8 MB, free: 13.91 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.646/2.646, allocations: 476.7 MB / 0.7611 GB, free: 11.27 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_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: Performance of FrontEnd - loaded program: time 0.001875/0.001875, allocations: 63.89 kB / 1.104 GB, free: 9.285 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6907/0.6926, allocations: 168.7 MB / 1.269 GB, free: 5.168 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.006636/0.6992, allocations: 4.85 MB / 1.273 GB, free: 308 kB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.1696/0.8689, allocations: 151.1 MB / 1.421 GB, free: 8.652 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008244/0.8697, allocations: 15.94 kB / 1.421 GB, free: 8.637 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.0006324/0.8703, allocations: 190.1 kB / 1.421 GB, free: 8.449 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.001849/0.8722, allocations: 0.5473 MB / 1.422 GB, free: 7.902 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.002073/0.8742, allocations: 0.8383 MB / 1.423 GB, free: 7.07 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.001806/0.8761, allocations: 1.382 MB / 1.424 GB, free: 5.684 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007512/0.8768, allocations: 417.2 kB / 1.424 GB, free: 5.25 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007062/0.8775, allocations: 498.2 kB / 1.425 GB, free: 4.762 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006449/0.8782, allocations: 0.4978 MB / 1.425 GB, free: 4.262 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0001723/0.8783, allocations: 120 kB / 1.425 GB, free: 4.145 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009273/0.8793, allocations: 495.5 kB / 1.426 GB, free: 3.66 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0002843/0.8795, allocations: 287.1 kB / 1.426 GB, free: 3.379 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0005719/0.8801, allocations: 0.5597 MB / 1.427 GB, free: 2.816 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.002118/0.8822, allocations: 1.65 MB / 1.428 GB, free: 1.16 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.8822, allocations: 0 / 1.428 GB, free: 1.16 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.703e-06/0.8822, allocations: 0 / 1.428 GB, free: 1.16 MB / 1.123 GB Notification: Performance of Transformations before backend: time 2.161e-05/0.8823, allocations: 0 / 1.428 GB, free: 1.16 MB / 1.123 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.002813/0.8851, allocations: 1.465 MB / 1.43 GB, free: 15.64 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.558e-05/0.8851, allocations: 12.03 kB / 1.43 GB, free: 15.62 MB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001732/0.8853, allocations: 131.4 kB / 1.43 GB, free: 15.49 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009395/0.8862, allocations: 188.1 kB / 1.43 GB, free: 15.3 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001369/0.8876, allocations: 0.7758 MB / 1.431 GB, free: 14.48 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.515e-05/0.8877, allocations: 58 kB / 1.431 GB, free: 14.43 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001152/0.8878, allocations: 88 kB / 1.431 GB, free: 14.34 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001605/0.8894, allocations: 0.9183 MB / 1.432 GB, free: 13.38 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.491e-05/0.8894, allocations: 3.938 kB / 1.432 GB, free: 13.38 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.017e-05/0.8895, allocations: 36 kB / 1.432 GB, free: 13.34 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.146e-05/0.8895, allocations: 24 kB / 1.432 GB, free: 13.32 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001824/0.8913, allocations: 1.104 MB / 1.433 GB, free: 12.22 MB / 1.139 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.0043/0.8956, allocations: 2.713 MB / 1.436 GB, free: 9.387 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001546/0.8972, allocations: 0.8494 MB / 1.436 GB, free: 8.52 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005207/0.8977, allocations: 274.7 kB / 1.437 GB, free: 8.242 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 7.658e-05/0.8978, allocations: 32.61 kB / 1.437 GB, free: 8.211 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008442/0.8986, allocations: 499.3 kB / 1.437 GB, free: 7.703 MB / 1.139 GB Notification: Performance of pre-optimization done (n=79): time 2.244e-06/0.8986, allocations: 0 / 1.437 GB, free: 7.703 MB / 1.139 GB Notification: Performance of matching and sorting (n=79): time 0.00309/0.9017, allocations: 1.194 MB / 1.438 GB, free: 6.484 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001375/0.9018, allocations: 188.6 kB / 1.439 GB, free: 6.258 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000877/0.9027, allocations: 0.6254 MB / 1.439 GB, free: 5.625 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 9.118e-05/0.9028, allocations: 45.64 kB / 1.439 GB, free: 5.574 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003641/0.9032, allocations: 405 kB / 1.44 GB, free: 5.172 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002674/0.9034, allocations: 273.7 kB / 1.44 GB, free: 4.902 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000234/0.9037, allocations: 142.6 kB / 1.44 GB, free: 4.758 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0002076/0.9039, allocations: 386.8 kB / 1.44 GB, free: 4.371 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005046/0.9044, allocations: 245.9 kB / 1.441 GB, free: 4.129 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006183/0.905, allocations: 354.6 kB / 1.441 GB, free: 3.758 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001063/0.9061, allocations: 0.5838 MB / 1.441 GB, free: 3.164 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.9061, allocations: 4 kB / 1.441 GB, free: 3.16 MB / 1.139 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001965/0.908, allocations: 0.8023 MB / 1.442 GB, free: 2.348 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 2.427e-05/0.9081, allocations: 8 kB / 1.442 GB, free: 2.34 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.206e-06/0.9081, allocations: 0 / 1.442 GB, free: 2.34 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006002/0.9087, allocations: 80.88 kB / 1.442 GB, free: 2.258 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006162/0.9093, allocations: 143.8 kB / 1.442 GB, free: 2.117 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002274/0.9116, allocations: 1.654 MB / 1.444 GB, free: 324 kB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007503/0.9123, allocations: 87.47 kB / 1.444 GB, free: 236 kB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.051e-05/0.9124, allocations: 35.91 kB / 1.444 GB, free: 200 kB / 1.139 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.0005085/0.9129, allocations: 277.6 kB / 1.444 GB, free: 15.91 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002045/0.9131, allocations: 87.44 kB / 1.445 GB, free: 15.83 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002414/0.9155, allocations: 1.058 MB / 1.446 GB, free: 14.75 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.196e-05/0.9155, allocations: 12 kB / 1.446 GB, free: 14.73 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.976e-06/0.9155, allocations: 0 / 1.446 GB, free: 14.73 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.024e-05/0.9155, allocations: 7.922 kB / 1.446 GB, free: 14.73 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003483/0.919, allocations: 1.959 MB / 1.448 GB, free: 12.71 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.701e-06/0.919, allocations: 0 / 1.448 GB, free: 12.71 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005692/0.9196, allocations: 143.8 kB / 1.448 GB, free: 12.57 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004621/0.9201, allocations: 76.78 kB / 1.448 GB, free: 12.49 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.294e-05/0.9201, allocations: 27.92 kB / 1.448 GB, free: 12.46 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002131/0.9223, allocations: 1.67 MB / 1.449 GB, free: 10.65 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.9223, allocations: 0 / 1.449 GB, free: 10.65 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002278/0.9246, allocations: 0.9984 MB / 1.45 GB, free: 9.633 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005019/0.9251, allocations: 276.3 kB / 1.451 GB, free: 9.344 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001272/0.9252, allocations: 20 kB / 1.451 GB, free: 9.324 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006423/0.9258, allocations: 75.84 kB / 1.451 GB, free: 9.25 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001541/0.926, allocations: 68.91 kB / 1.451 GB, free: 9.18 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.7e-05/0.926, allocations: 31.97 kB / 1.451 GB, free: 9.148 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0006174/0.9267, allocations: 459 kB / 1.451 GB, free: 8.703 MB / 1.154 GB Notification: Performance of sort global known variables: time 8e-08/0.9267, allocations: 0 / 1.451 GB, free: 8.703 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0008876/0.9276, allocations: 315.2 kB / 1.452 GB, free: 8.395 MB / 1.154 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.004204/0.9318, allocations: 2.06 MB / 1.454 GB, free: 6.508 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.001874/0.9336, allocations: 0.7767 MB / 1.454 GB, free: 5.715 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 8.146e-06/0.9336, allocations: 4 kB / 1.454 GB, free: 5.711 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.0009448/0.9346, allocations: 488.2 kB / 1.455 GB, free: 5.227 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001324/0.9359, allocations: 301.7 kB / 1.455 GB, free: 4.953 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01034/0.9462, allocations: 6.209 MB / 1.461 GB, free: 14.64 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006749/0.9469, allocations: 1.015 MB / 1.462 GB, free: 13.59 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.0007948/0.9477, allocations: 262.7 kB / 1.462 GB, free: 13.32 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005363/0.9483, allocations: 371.2 kB / 1.463 GB, free: 12.96 MB / 1.17 GB Notification: Performance of SimCode: time 9.22e-07/0.9483, allocations: 0 / 1.463 GB, free: 12.96 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08214/1.03, allocations: 21.7 MB / 1.484 GB, free: 7.551 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.92/13.95, allocations: 7.938 kB / 1.484 GB, free: 7.543 MB / 1.186 GB " [Timeout remaining time 286] (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_2/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: 19.734970482997596]