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.001752/0.001752, allocations: 114.7 kB / 17.16 MB, free: 5.895 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.002094/0.002094, allocations: 210.3 kB / 20.13 MB, free: 2.949 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.437/1.437, allocations: 230.6 MB / 253.5 MB, free: 15.11 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.684/2.684, allocations: 476.7 MB / 0.7678 GB, free: 9.402 MB / 0.6075 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,fileNamePrefix="Buildings_11_Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle",fmuType="cs",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.001955/0.001955, allocations: 67.89 kB / 1.113 GB, free: 15.89 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9223/0.9243, allocations: 169.9 MB / 1.279 GB, free: 11.59 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.007523/0.9318, allocations: 4.875 MB / 1.284 GB, free: 8.117 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.2013/1.133, allocations: 154 MB / 1.434 GB, free: 12.98 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001286/1.134, allocations: 19.88 kB / 1.434 GB, free: 12.96 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.0007735/1.135, allocations: 190.2 kB / 1.434 GB, free: 12.77 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.002319/1.137, allocations: 0.5706 MB / 1.435 GB, free: 12.2 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.002425/1.14, allocations: 0.8609 MB / 1.436 GB, free: 11.35 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.002038/1.142, allocations: 1.401 MB / 1.437 GB, free: 9.941 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008165/1.143, allocations: 429.2 kB / 1.437 GB, free: 9.496 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008425/1.144, allocations: 0.5022 MB / 1.438 GB, free: 8.992 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000702/1.144, allocations: 0.5156 MB / 1.438 GB, free: 8.477 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.000177/1.144, allocations: 124 kB / 1.439 GB, free: 8.355 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001186/1.146, allocations: 0.5035 MB / 1.439 GB, free: 7.852 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0003018/1.146, allocations: 303.1 kB / 1.439 GB, free: 7.555 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0005658/1.147, allocations: 0.5713 MB / 1.44 GB, free: 6.98 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.002521/1.149, allocations: 1.701 MB / 1.442 GB, free: 5.273 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 5.139e-06/1.149, allocations: 0 / 1.442 GB, free: 5.273 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.804e-06/1.149, allocations: 0 / 1.442 GB, free: 5.273 MB / 1.123 GB Notification: Performance of Transformations before backend: time 2.412e-05/1.149, allocations: 0 / 1.442 GB, free: 5.273 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.002839/1.152, allocations: 1.494 MB / 1.443 GB, free: 3.727 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.696e-05/1.152, allocations: 8.031 kB / 1.443 GB, free: 3.719 MB / 1.123 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.413e-05/1.152, allocations: 22.19 kB / 1.443 GB, free: 3.695 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000158/1.152, allocations: 135.4 kB / 1.443 GB, free: 3.555 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001652/1.154, allocations: 244 kB / 1.443 GB, free: 3.316 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001355/1.155, allocations: 0.7861 MB / 1.444 GB, free: 2.488 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.156e-05/1.155, allocations: 62 kB / 1.444 GB, free: 2.43 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001161/1.155, allocations: 80 kB / 1.444 GB, free: 2.352 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00162/1.157, allocations: 0.9184 MB / 1.445 GB, free: 1.391 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.979e-05/1.157, allocations: 3.984 kB / 1.445 GB, free: 1.387 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.71e-05/1.157, allocations: 36 kB / 1.445 GB, free: 1.352 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.984e-05/1.157, allocations: 20 kB / 1.445 GB, free: 1.332 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001824/1.159, allocations: 1.108 MB / 1.446 GB, free: 228 kB / 1.123 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.004301/1.163, allocations: 2.725 MB / 1.449 GB, free: 13.38 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001632/1.165, allocations: 0.8397 MB / 1.45 GB, free: 12.52 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005507/1.165, allocations: 282.6 kB / 1.45 GB, free: 12.24 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 8.439e-05/1.165, allocations: 36.59 kB / 1.45 GB, free: 12.21 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009303/1.166, allocations: 492.7 kB / 1.451 GB, free: 11.71 MB / 1.139 GB Notification: Performance of pre-optimization done (n=79): time 2.414e-06/1.166, allocations: 0 / 1.451 GB, free: 11.71 MB / 1.139 GB Notification: Performance of matching and sorting (n=79): time 0.003305/1.17, allocations: 1.202 MB / 1.452 GB, free: 10.48 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001449/1.17, allocations: 196.6 kB / 1.452 GB, free: 10.25 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009592/1.171, allocations: 0.6527 MB / 1.453 GB, free: 9.59 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 8.121e-05/1.171, allocations: 45.7 kB / 1.453 GB, free: 9.539 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.00037/1.171, allocations: 409 kB / 1.453 GB, free: 9.133 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002445/1.172, allocations: 265.7 kB / 1.453 GB, free: 8.871 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002414/1.172, allocations: 142.6 kB / 1.453 GB, free: 8.727 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.000213/1.172, allocations: 386.8 kB / 1.454 GB, free: 8.34 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005253/1.172, allocations: 241.9 kB / 1.454 GB, free: 8.105 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006472/1.173, allocations: 358.6 kB / 1.454 GB, free: 7.727 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001122/1.174, allocations: 0.5838 MB / 1.455 GB, free: 7.133 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/1.174, allocations: 0 / 1.455 GB, free: 7.133 MB / 1.139 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.002013/1.176, allocations: 0.8062 MB / 1.456 GB, free: 6.316 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 2.55e-05/1.176, allocations: 8 kB / 1.456 GB, free: 6.309 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.071e-05/1.176, allocations: 3.938 kB / 1.456 GB, free: 6.305 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006226/1.177, allocations: 84.86 kB / 1.456 GB, free: 6.219 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006187/1.178, allocations: 147.8 kB / 1.456 GB, free: 6.074 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002437/1.18, allocations: 1.646 MB / 1.458 GB, free: 4.285 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008124/1.181, allocations: 87.55 kB / 1.458 GB, free: 4.199 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.131e-05/1.181, allocations: 36.05 kB / 1.458 GB, free: 4.164 MB / 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.000523/1.181, allocations: 269.5 kB / 1.458 GB, free: 3.891 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002076/1.182, allocations: 87.44 kB / 1.458 GB, free: 3.805 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002504/1.184, allocations: 1.066 MB / 1.459 GB, free: 2.719 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.353e-05/1.184, allocations: 11.94 kB / 1.459 GB, free: 2.707 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.735e-06/1.184, allocations: 0 / 1.459 GB, free: 2.707 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.057e-05/1.184, allocations: 7.984 kB / 1.459 GB, free: 2.699 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00354/1.188, allocations: 1.971 MB / 1.461 GB, free: 0.668 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.24e-06/1.188, allocations: 3.938 kB / 1.461 GB, free: 0.6641 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005608/1.188, allocations: 139.8 kB / 1.461 GB, free: 0.5273 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004425/1.189, allocations: 68.8 kB / 1.461 GB, free: 468 kB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.674e-05/1.189, allocations: 27.97 kB / 1.461 GB, free: 440 kB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002164/1.191, allocations: 1.681 MB / 1.463 GB, free: 14.6 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/1.191, allocations: 3.938 kB / 1.463 GB, free: 14.6 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002197/1.193, allocations: 0.9946 MB / 1.464 GB, free: 13.59 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004398/1.194, allocations: 280.2 kB / 1.464 GB, free: 13.29 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001219/1.194, allocations: 23.98 kB / 1.464 GB, free: 13.27 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006673/1.194, allocations: 60.08 kB / 1.464 GB, free: 13.21 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000172/1.195, allocations: 80.77 kB / 1.464 GB, free: 13.13 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.449e-05/1.195, allocations: 35.97 kB / 1.464 GB, free: 13.1 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0006675/1.195, allocations: 475 kB / 1.465 GB, free: 12.64 MB / 1.154 GB Notification: Performance of sort global known variables: time 7e-08/1.195, allocations: 0 / 1.465 GB, free: 12.64 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0009391/1.196, allocations: 319.2 kB / 1.465 GB, free: 12.32 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.004297/1.2, allocations: 2.041 MB / 1.467 GB, free: 10.43 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.0018/1.202, allocations: 0.7651 MB / 1.468 GB, free: 9.66 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 4.438e-06/1.202, allocations: 0 / 1.468 GB, free: 9.66 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.0009529/1.203, allocations: 0.4924 MB / 1.468 GB, free: 9.152 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001387/1.205, allocations: 314.3 kB / 1.469 GB, free: 8.875 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01116/1.216, allocations: 6.279 MB / 1.475 GB, free: 2.441 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007554/1.217, allocations: 1.023 MB / 1.476 GB, free: 1.387 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.0009005/1.217, allocations: 274.7 kB / 1.476 GB, free: 1.113 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005985/1.218, allocations: 383.2 kB / 1.476 GB, free: 0.7383 MB / 1.154 GB Notification: Performance of SimCode: time 1.052e-06/1.218, allocations: 0 / 1.476 GB, free: 0.7383 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05545/1.273, allocations: 22 MB / 1.498 GB, free: 11.03 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 13/14.27, allocations: 12.97 kB / 1.498 GB, free: 11.02 MB / 1.186 GB " [Timeout remaining time 285] (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: 20.554940049012657]