Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001672/0.001672, allocations: 110.6 kB / 16.46 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.001888/0.001888, 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.398/1.398, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.508/2.508, allocations: 443.5 MB / 0.7287 GB, free: 13.23 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.BaseClasses.Examples.ZenithAngle,fileNamePrefix="Buildings_10_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle,fileNamePrefix="Buildings_10_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001919/0.001919, allocations: 67.89 kB / 1.056 GB, free: 5.883 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8198/0.8217, allocations: 160.7 MB / 1.213 GB, free: 3.816 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle): time 0.007896/0.8296, allocations: 4.942 MB / 1.218 GB, free: 15.91 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.2041/1.034, allocations: 151.1 MB / 1.365 GB, free: 11.59 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001878/1.036, allocations: 15.94 kB / 1.365 GB, free: 11.57 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.001244/1.037, allocations: 194.2 kB / 1.365 GB, free: 11.38 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.003871/1.041, allocations: 0.5645 MB / 1.366 GB, free: 10.82 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.003694/1.044, allocations: 0.8527 MB / 1.367 GB, free: 9.973 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0032/1.048, allocations: 1.421 MB / 1.368 GB, free: 8.543 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00148/1.049, allocations: 429.3 kB / 1.369 GB, free: 8.098 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001358/1.05, allocations: 0.4983 MB / 1.369 GB, free: 7.598 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00138/1.052, allocations: 0.525 MB / 1.37 GB, free: 7.07 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0004554/1.052, allocations: 120 kB / 1.37 GB, free: 6.953 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001772/1.054, allocations: 487.6 kB / 1.37 GB, free: 6.477 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0005673/1.055, allocations: 307 kB / 1.371 GB, free: 6.176 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.001271/1.056, allocations: 0.5713 MB / 1.371 GB, free: 5.602 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.003976/1.06, allocations: 1.677 MB / 1.373 GB, free: 3.918 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 6.222e-06/1.06, allocations: 0 / 1.373 GB, free: 3.918 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.415e-06/1.06, allocations: 0 / 1.373 GB, free: 3.918 MB / 1.076 GB Notification: Performance of Transformations before backend: time 6.223e-05/1.06, allocations: 0 / 1.373 GB, free: 3.918 MB / 1.076 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.004593/1.064, allocations: 1.504 MB / 1.374 GB, free: 2.359 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 5.988e-05/1.065, allocations: 12.62 kB / 1.374 GB, free: 2.348 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002419/1.065, allocations: 135.5 kB / 1.374 GB, free: 2.207 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00143/1.066, allocations: 192.1 kB / 1.375 GB, free: 2.02 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002092/1.068, allocations: 0.7823 MB / 1.375 GB, free: 1.195 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001065/1.068, allocations: 66 kB / 1.375 GB, free: 1.129 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002041/1.069, allocations: 80 kB / 1.375 GB, free: 1.051 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002669/1.071, allocations: 0.9418 MB / 1.376 GB, free: 72 kB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.397e-05/1.071, allocations: 0 / 1.376 GB, free: 72 kB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001172/1.071, allocations: 40 kB / 1.376 GB, free: 32 kB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.174e-05/1.071, allocations: 23.98 kB / 1.376 GB, free: 8 kB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002636/1.074, allocations: 1.124 MB / 1.378 GB, free: 14.88 MB / 1.092 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.005491/1.08, allocations: 2.736 MB / 1.38 GB, free: 12.03 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001767/1.081, allocations: 0.8532 MB / 1.381 GB, free: 11.16 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006248/1.082, allocations: 287.9 kB / 1.381 GB, free: 10.88 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 9.637e-05/1.082, allocations: 32.67 kB / 1.381 GB, free: 10.84 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001016/1.083, allocations: 0.5206 MB / 1.382 GB, free: 10.3 MB / 1.092 GB Notification: Performance of pre-optimization done (n=84): time 2.595e-06/1.083, allocations: 0 / 1.382 GB, free: 10.3 MB / 1.092 GB Notification: Performance of matching and sorting (n=84): time 0.003619/1.087, allocations: 1.255 MB / 1.383 GB, free: 9.023 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001421/1.087, allocations: 188.9 kB / 1.383 GB, free: 8.793 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001215/1.088, allocations: 0.6411 MB / 1.384 GB, free: 8.145 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 0.0001087/1.088, allocations: 49.62 kB / 1.384 GB, free: 8.09 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004728/1.089, allocations: 405.1 kB / 1.384 GB, free: 7.688 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003205/1.089, allocations: 289.6 kB / 1.385 GB, free: 7.402 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002894/1.089, allocations: 150.6 kB / 1.385 GB, free: 7.25 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0002632/1.09, allocations: 394.7 kB / 1.385 GB, free: 6.855 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005751/1.09, allocations: 253.9 kB / 1.385 GB, free: 6.609 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007274/1.091, allocations: 374.4 kB / 1.386 GB, free: 6.215 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001221/1.092, allocations: 0.6087 MB / 1.386 GB, free: 5.598 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.017e-06/1.092, allocations: 0 / 1.386 GB, free: 5.598 MB / 1.092 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.002186/1.094, allocations: 0.8258 MB / 1.387 GB, free: 4.758 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 2.567e-05/1.094, allocations: 10.91 kB / 1.387 GB, free: 4.75 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.006e-06/1.094, allocations: 4 kB / 1.387 GB, free: 4.746 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006496/1.095, allocations: 84.86 kB / 1.387 GB, free: 4.66 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006942/1.096, allocations: 159.7 kB / 1.387 GB, free: 4.504 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002458/1.098, allocations: 1.63 MB / 1.389 GB, free: 2.734 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008301/1.099, allocations: 91.66 kB / 1.389 GB, free: 2.645 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.745e-05/1.099, allocations: 31.97 kB / 1.389 GB, free: 2.613 MB / 1.092 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.0005933/1.1, allocations: 279 kB / 1.389 GB, free: 2.332 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000284/1.1, allocations: 87.44 kB / 1.389 GB, free: 2.246 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002717/1.103, allocations: 1.132 MB / 1.39 GB, free: 1.098 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.576e-05/1.103, allocations: 12 kB / 1.391 GB, free: 1.086 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.329e-06/1.103, allocations: 0 / 1.391 GB, free: 1.086 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.164e-05/1.103, allocations: 3.984 kB / 1.391 GB, free: 1.082 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003985/1.107, allocations: 2.021 MB / 1.392 GB, free: 15 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.785e-06/1.107, allocations: 4 kB / 1.392 GB, free: 15 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006354/1.107, allocations: 163.7 kB / 1.393 GB, free: 14.84 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004587/1.108, allocations: 68.8 kB / 1.393 GB, free: 14.77 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.644e-05/1.108, allocations: 27.97 kB / 1.393 GB, free: 14.74 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002152/1.11, allocations: 1.666 MB / 1.394 GB, free: 12.93 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/1.11, allocations: 0 / 1.394 GB, free: 12.93 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002338/1.112, allocations: 1.049 MB / 1.395 GB, free: 11.86 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006326/1.113, allocations: 288.2 kB / 1.396 GB, free: 11.55 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001592/1.113, allocations: 27.94 kB / 1.396 GB, free: 11.53 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006801/1.114, allocations: 63.92 kB / 1.396 GB, free: 11.46 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001888/1.114, allocations: 76.89 kB / 1.396 GB, free: 11.39 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.808e-05/1.114, allocations: 35.98 kB / 1.396 GB, free: 11.36 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.0006736/1.115, allocations: 475 kB / 1.396 GB, free: 10.9 MB / 1.107 GB Notification: Performance of sort global known variables: time 1.1e-07/1.115, allocations: 0 / 1.396 GB, free: 10.9 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.0009514/1.116, allocations: 323.2 kB / 1.397 GB, free: 10.58 MB / 1.107 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.004401/1.12, allocations: 2.114 MB / 1.399 GB, free: 8.625 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.001875/1.122, allocations: 0.8039 MB / 1.399 GB, free: 7.809 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/1.122, allocations: 0 / 1.399 GB, free: 7.809 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.001012/1.123, allocations: 0.5081 MB / 1.4 GB, free: 7.289 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00141/1.124, allocations: 309.5 kB / 1.4 GB, free: 7.004 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01167/1.136, allocations: 6.403 MB / 1.407 GB, free: 456 kB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007695/1.137, allocations: 1.034 MB / 1.408 GB, free: 15.38 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.0009933/1.138, allocations: 274.9 kB / 1.408 GB, free: 15.11 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006492/1.138, allocations: 411.2 kB / 1.408 GB, free: 14.71 MB / 1.123 GB Notification: Performance of SimCode: time 1.693e-06/1.138, allocations: 0 / 1.408 GB, free: 14.71 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06378/1.202, allocations: 22.36 MB / 1.43 GB, free: 8.551 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.27/14.47, allocations: 1.547 kB / 1.43 GB, free: 8.551 MB / 1.139 GB " [Timeout remaining time 285] (rm -f Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle_res.mat --tempDir=temp_Buildings_10_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle_fmu --startTime=100000 --stopTime=300000 --stepSize=80 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle.fmu > Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.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.412402997724712]