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.001686/0.001686, allocations: 111.8 kB / 18.14 MB, free: 3.781 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.002085/0.002085, allocations: 202 kB / 21.43 MB, free: 0.5 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.457/1.457, allocations: 225.6 MB / 250.2 MB, free: 13.27 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.632/2.632, allocations: 476.7 MB / 0.7637 GB, free: 10.07 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.001898/0.001898, allocations: 67.89 kB / 1.108 GB, free: 7.07 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7992/0.8011, allocations: 168.7 MB / 1.273 GB, free: 4.32 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.006905/0.808, allocations: 4.875 MB / 1.278 GB, free: 15.43 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.1738/0.9818, allocations: 151.2 MB / 1.425 GB, free: 7.664 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001303/0.9831, allocations: 19.88 kB / 1.425 GB, free: 7.645 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.0009988/0.9841, allocations: 190.2 kB / 1.425 GB, free: 7.457 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.002636/0.9867, allocations: 0.5509 MB / 1.426 GB, free: 6.906 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.002734/0.9894, allocations: 0.8566 MB / 1.427 GB, free: 6.055 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.002233/0.9917, allocations: 1.394 MB / 1.428 GB, free: 4.656 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001003/0.9927, allocations: 413.1 kB / 1.429 GB, free: 4.23 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000937/0.9936, allocations: 486.4 kB / 1.429 GB, free: 3.754 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009497/0.9946, allocations: 0.5056 MB / 1.429 GB, free: 3.246 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0003429/0.9949, allocations: 120 kB / 1.43 GB, free: 3.129 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001243/0.9962, allocations: 487.6 kB / 1.43 GB, free: 2.652 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0004552/0.9966, allocations: 299 kB / 1.43 GB, free: 2.359 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0008461/0.9975, allocations: 0.5519 MB / 1.431 GB, free: 1.805 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.002779/1, allocations: 1.658 MB / 1.432 GB, free: 144 kB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 7.915e-06/1, allocations: 4 kB / 1.432 GB, free: 140 kB / 1.123 GB Notification: Performance of FrontEnd: time 1.703e-06/1, allocations: 0 / 1.432 GB, free: 140 kB / 1.123 GB Notification: Performance of Transformations before backend: time 5.834e-05/1, allocations: 0 / 1.432 GB, free: 140 kB / 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.003353/1.004, allocations: 1.456 MB / 1.434 GB, free: 14.62 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.63e-05/1.004, allocations: 8.031 kB / 1.434 GB, free: 14.61 MB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001707/1.004, allocations: 135.4 kB / 1.434 GB, free: 14.47 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001019/1.005, allocations: 196 kB / 1.434 GB, free: 14.28 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001314/1.006, allocations: 0.7621 MB / 1.435 GB, free: 13.47 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.174e-05/1.006, allocations: 66 kB / 1.435 GB, free: 13.41 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001135/1.006, allocations: 76 kB / 1.435 GB, free: 13.34 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001608/1.008, allocations: 0.9261 MB / 1.436 GB, free: 12.37 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.219e-05/1.008, allocations: 0 / 1.436 GB, free: 12.37 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.567e-05/1.008, allocations: 32 kB / 1.436 GB, free: 12.34 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.052e-05/1.008, allocations: 24 kB / 1.436 GB, free: 12.31 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001838/1.01, allocations: 1.116 MB / 1.437 GB, free: 11.2 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.004326/1.014, allocations: 2.709 MB / 1.44 GB, free: 8.375 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001587/1.016, allocations: 0.8518 MB / 1.441 GB, free: 7.504 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005749/1.016, allocations: 278.7 kB / 1.441 GB, free: 7.227 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 8.891e-05/1.017, allocations: 28.61 kB / 1.441 GB, free: 7.199 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009342/1.017, allocations: 495.2 kB / 1.441 GB, free: 6.695 MB / 1.139 GB Notification: Performance of pre-optimization done (n=79): time 2.916e-06/1.017, allocations: 0 / 1.441 GB, free: 6.695 MB / 1.139 GB Notification: Performance of matching and sorting (n=79): time 0.003281/1.021, allocations: 1.196 MB / 1.443 GB, free: 5.477 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001314/1.021, allocations: 188.6 kB / 1.443 GB, free: 5.25 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008805/1.022, allocations: 0.6254 MB / 1.443 GB, free: 4.617 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 8.691e-05/1.022, allocations: 41.7 kB / 1.443 GB, free: 4.57 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003556/1.022, allocations: 405 kB / 1.444 GB, free: 4.168 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002352/1.022, allocations: 265.7 kB / 1.444 GB, free: 3.906 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002399/1.023, allocations: 150.5 kB / 1.444 GB, free: 3.75 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001987/1.023, allocations: 390.7 kB / 1.445 GB, free: 3.359 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000526/1.023, allocations: 245.9 kB / 1.445 GB, free: 3.121 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006427/1.024, allocations: 358.5 kB / 1.445 GB, free: 2.746 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001119/1.025, allocations: 0.5877 MB / 1.446 GB, free: 2.145 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.476e-06/1.025, allocations: 0 / 1.446 GB, free: 2.145 MB / 1.139 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.002015/1.027, allocations: 0.8024 MB / 1.446 GB, free: 1.336 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 2.036e-05/1.027, allocations: 4 kB / 1.447 GB, free: 1.332 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.456e-06/1.027, allocations: 4.094 kB / 1.447 GB, free: 1.328 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006149/1.028, allocations: 84.7 kB / 1.447 GB, free: 1.242 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006244/1.028, allocations: 159.7 kB / 1.447 GB, free: 1.086 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002421/1.031, allocations: 1.641 MB / 1.448 GB, free: 15.3 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007507/1.032, allocations: 87.52 kB / 1.448 GB, free: 15.21 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.049e-05/1.032, allocations: 31.97 kB / 1.448 GB, free: 15.18 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.0005409/1.032, allocations: 265.6 kB / 1.449 GB, free: 14.91 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002356/1.032, allocations: 87.44 kB / 1.449 GB, free: 14.82 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002528/1.035, allocations: 1.066 MB / 1.45 GB, free: 13.74 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.145e-05/1.035, allocations: 15.94 kB / 1.45 GB, free: 13.72 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/1.035, allocations: 0 / 1.45 GB, free: 13.72 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.049e-05/1.035, allocations: 3.984 kB / 1.45 GB, free: 13.72 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003637/1.039, allocations: 1.963 MB / 1.452 GB, free: 11.7 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.789e-06/1.039, allocations: 0 / 1.452 GB, free: 11.7 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005572/1.039, allocations: 139.8 kB / 1.452 GB, free: 11.56 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004679/1.04, allocations: 72.78 kB / 1.452 GB, free: 11.49 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.718e-05/1.04, allocations: 23.98 kB / 1.452 GB, free: 11.46 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002102/1.042, allocations: 1.681 MB / 1.454 GB, free: 9.637 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/1.042, allocations: 0 / 1.454 GB, free: 9.637 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002147/1.044, allocations: 1.002 MB / 1.455 GB, free: 8.613 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004842/1.045, allocations: 272.2 kB / 1.455 GB, free: 8.328 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001601/1.045, allocations: 23.98 kB / 1.455 GB, free: 8.305 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007032/1.045, allocations: 68.06 kB / 1.455 GB, free: 8.238 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001546/1.046, allocations: 64.91 kB / 1.455 GB, free: 8.176 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.973e-05/1.046, allocations: 39.97 kB / 1.455 GB, free: 8.137 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0006476/1.046, allocations: 455 kB / 1.455 GB, free: 7.695 MB / 1.154 GB Notification: Performance of sort global known variables: time 9e-08/1.046, allocations: 0 / 1.455 GB, free: 7.695 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0009647/1.047, allocations: 327 kB / 1.456 GB, free: 7.375 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.00432/1.052, allocations: 2.044 MB / 1.458 GB, free: 5.5 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.001781/1.053, allocations: 0.7726 MB / 1.459 GB, free: 4.711 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/1.053, allocations: 192 / 1.459 GB, free: 4.711 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.0009795/1.054, allocations: 492.3 kB / 1.459 GB, free: 4.219 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001333/1.056, allocations: 314 kB / 1.459 GB, free: 3.938 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01147/1.067, allocations: 6.217 MB / 1.465 GB, free: 13.61 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000934/1.068, allocations: 1.012 MB / 1.466 GB, free: 12.57 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.0008289/1.069, allocations: 258.7 kB / 1.467 GB, free: 12.31 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005841/1.069, allocations: 375.3 kB / 1.467 GB, free: 11.94 MB / 1.17 GB Notification: Performance of SimCode: time 1.313e-06/1.069, allocations: 0 / 1.467 GB, free: 11.94 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06252/1.132, allocations: 21.76 MB / 1.488 GB, free: 6.402 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.13/14.26, allocations: 4.75 kB / 1.488 GB, free: 6.402 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: 20.190628485754132]