Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.002015/0.002015, allocations: 104.7 kB / 16.4 MB, free: 6.504 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.002297/0.002297, allocations: 192.6 kB / 19.36 MB, free: 3.75 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.893/1.893, allocations: 222.9 MB / 245.1 MB, free: 15.01 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.482/2.482, allocations: 437.1 MB / 0.7171 GB, free: 4.074 MB / 0.5762 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.Examples.ZenithAngle,fileNamePrefix="Buildings_10_Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,fileNamePrefix="Buildings_10_Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001919/0.001919, allocations: 71.88 kB / 1.027 GB, free: 12.07 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7402/0.7421, allocations: 151.6 MB / 1.175 GB, free: 17.5 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.005386/0.7475, allocations: 4.827 MB / 1.179 GB, free: 14.05 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.1793/0.9269, allocations: 150.6 MB / 1.326 GB, free: 13.16 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009451/0.9279, allocations: 15.94 kB / 1.326 GB, free: 13.15 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0006336/0.9285, allocations: 190.2 kB / 1.327 GB, free: 12.96 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.001927/0.9305, allocations: 0.5387 MB / 1.327 GB, free: 12.42 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.002312/0.9328, allocations: 0.8349 MB / 1.328 GB, free: 11.59 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.001728/0.9345, allocations: 1.382 MB / 1.329 GB, free: 10.2 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008896/0.9354, allocations: 0.6024 MB / 1.33 GB, free: 9.574 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006984/0.9362, allocations: 490.3 kB / 1.33 GB, free: 9.094 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006481/0.9368, allocations: 0.4901 MB / 1.331 GB, free: 8.602 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0001821/0.937, allocations: 119.9 kB / 1.331 GB, free: 8.484 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009938/0.938, allocations: 491.5 kB / 1.331 GB, free: 8.004 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0002949/0.9383, allocations: 295.1 kB / 1.332 GB, free: 7.715 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0005669/0.9389, allocations: 0.5597 MB / 1.332 GB, free: 7.152 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.002149/0.9411, allocations: 1.65 MB / 1.334 GB, free: 5.496 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.9411, allocations: 0 / 1.334 GB, free: 5.496 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.363e-06/0.9411, allocations: 0 / 1.334 GB, free: 5.496 MB / 1.045 GB Notification: Performance of Transformations before backend: time 2.132e-05/0.9411, allocations: 0 / 1.334 GB, free: 5.496 MB / 1.045 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.002683/0.9438, allocations: 1.459 MB / 1.335 GB, free: 3.984 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.009e-05/0.9438, allocations: 8.625 kB / 1.335 GB, free: 3.977 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000163/0.944, allocations: 139.4 kB / 1.335 GB, free: 3.832 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009423/0.945, allocations: 192 kB / 1.336 GB, free: 3.645 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001209/0.9462, allocations: 0.766 MB / 1.336 GB, free: 2.832 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.116e-05/0.9463, allocations: 69.92 kB / 1.336 GB, free: 2.766 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001152/0.9464, allocations: 83.98 kB / 1.337 GB, free: 2.684 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001645/0.948, allocations: 0.9184 MB / 1.337 GB, free: 1.723 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.001e-05/0.9481, allocations: 0 / 1.337 GB, free: 1.723 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.5e-05/0.9482, allocations: 36 kB / 1.337 GB, free: 1.688 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.081e-05/0.9482, allocations: 20 kB / 1.337 GB, free: 1.668 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001848/0.95, allocations: 1.112 MB / 1.339 GB, free: 0.5547 MB / 1.045 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.004348/0.9544, allocations: 2.705 MB / 1.341 GB, free: 13.73 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001661/0.9561, allocations: 0.8962 MB / 1.342 GB, free: 12.82 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005704/0.9567, allocations: 306.6 kB / 1.342 GB, free: 12.52 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 7.801e-05/0.9568, allocations: 32.59 kB / 1.342 GB, free: 12.48 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000915/0.9577, allocations: 0.4915 MB / 1.343 GB, free: 11.97 MB / 1.061 GB Notification: Performance of pre-optimization done (n=79): time 2.485e-06/0.9577, allocations: 0 / 1.343 GB, free: 11.97 MB / 1.061 GB Notification: Performance of matching and sorting (n=79): time 0.003239/0.9609, allocations: 1.19 MB / 1.344 GB, free: 10.75 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001393/0.9611, allocations: 196.6 kB / 1.344 GB, free: 10.52 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000881/0.962, allocations: 0.6254 MB / 1.345 GB, free: 9.891 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 9.325e-05/0.9621, allocations: 41.7 kB / 1.345 GB, free: 9.844 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003652/0.9625, allocations: 397 kB / 1.345 GB, free: 9.449 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.000263/0.9627, allocations: 269.7 kB / 1.346 GB, free: 9.184 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002373/0.963, allocations: 142.6 kB / 1.346 GB, free: 9.039 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0002161/0.9632, allocations: 394.7 kB / 1.346 GB, free: 8.645 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005263/0.9637, allocations: 249.9 kB / 1.346 GB, free: 8.402 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006441/0.9644, allocations: 350.6 kB / 1.347 GB, free: 8.031 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001117/0.9655, allocations: 0.5878 MB / 1.347 GB, free: 7.434 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.968e-06/0.9655, allocations: 0 / 1.347 GB, free: 7.434 MB / 1.061 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.002015/0.9676, allocations: 0.8062 MB / 1.348 GB, free: 6.613 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.874e-05/0.9676, allocations: 7.938 kB / 1.348 GB, free: 6.605 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.9676, allocations: 0 / 1.348 GB, free: 6.605 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005886/0.9682, allocations: 84.81 kB / 1.348 GB, free: 6.52 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006244/0.9688, allocations: 155.8 kB / 1.348 GB, free: 6.367 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002383/0.9712, allocations: 1.649 MB / 1.35 GB, free: 4.574 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000739/0.972, allocations: 90.25 kB / 1.35 GB, free: 4.488 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.337e-05/0.9721, allocations: 31.97 kB / 1.35 GB, free: 4.457 MB / 1.061 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.0004956/0.9726, allocations: 261.6 kB / 1.35 GB, free: 4.191 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001973/0.9728, allocations: 91.38 kB / 1.35 GB, free: 4.102 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002458/0.9753, allocations: 1.058 MB / 1.351 GB, free: 3.023 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.015e-05/0.9753, allocations: 11.94 kB / 1.351 GB, free: 3.012 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.9753, allocations: 4 kB / 1.351 GB, free: 3.008 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.068e-05/0.9753, allocations: 3.984 kB / 1.351 GB, free: 3.004 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003489/0.9788, allocations: 1.971 MB / 1.353 GB, free: 0.9766 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.003e-06/0.9789, allocations: 4 kB / 1.353 GB, free: 0.9727 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005645/0.9794, allocations: 143.8 kB / 1.353 GB, free: 0.832 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004509/0.9799, allocations: 76.77 kB / 1.353 GB, free: 0.7539 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.569e-05/0.98, allocations: 23.98 kB / 1.353 GB, free: 0.7305 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002147/0.9821, allocations: 1.666 MB / 1.355 GB, free: 14.92 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.9821, allocations: 0 / 1.355 GB, free: 14.92 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002251/0.9844, allocations: 1.002 MB / 1.356 GB, free: 13.89 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000457/0.9849, allocations: 276.2 kB / 1.356 GB, free: 13.61 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001314/0.985, allocations: 16 kB / 1.356 GB, free: 13.59 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006545/0.9857, allocations: 63.92 kB / 1.356 GB, free: 13.53 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001638/0.9859, allocations: 68.91 kB / 1.356 GB, free: 13.46 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.748e-05/0.9859, allocations: 35.97 kB / 1.357 GB, free: 13.43 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0006201/0.9866, allocations: 459 kB / 1.357 GB, free: 12.98 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9866, allocations: 0 / 1.357 GB, free: 12.98 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0008957/0.9875, allocations: 319.2 kB / 1.357 GB, free: 12.67 MB / 1.076 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.004242/0.9917, allocations: 2.055 MB / 1.359 GB, free: 10.75 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001846/0.9936, allocations: 0.7922 MB / 1.36 GB, free: 9.953 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 4.949e-06/0.9936, allocations: 0 / 1.36 GB, free: 9.953 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.001027/0.9947, allocations: 0.5277 MB / 1.361 GB, free: 9.414 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001429/0.9961, allocations: 306.5 kB / 1.361 GB, free: 9.141 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01066/1.007, allocations: 6.202 MB / 1.367 GB, free: 2.824 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007191/1.008, allocations: 1.019 MB / 1.368 GB, free: 1.773 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0008396/1.008, allocations: 270.6 kB / 1.368 GB, free: 1.504 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005714/1.009, allocations: 371.3 kB / 1.369 GB, free: 1.141 MB / 1.076 GB Notification: Performance of SimCode: time 8.11e-07/1.009, allocations: 4 kB / 1.369 GB, free: 1.137 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05803/1.067, allocations: 21.57 MB / 1.39 GB, free: 11.77 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.81/13.88, allocations: 13.56 kB / 1.39 GB, free: 11.76 MB / 1.107 GB " [Timeout remaining time 286] (rm -f Buildings_10_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle_res.mat --tempDir=temp_Buildings_10_Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle_fmu --startTime=100000 --stopTime=300000 --stepSize=80 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle.fmu > Buildings_10_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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.100655663991347]