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.001336/0.001336, allocations: 108.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.001265/0.001265, 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.394/1.394, 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 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.557/2.557, allocations: 443.5 MB / 0.7287 GB, free: 13.18 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.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.001912/0.001912, allocations: 59.91 kB / 1.056 GB, free: 5.855 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7786/0.7805, allocations: 160.7 MB / 1.213 GB, free: 3.863 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.007709/0.7882, allocations: 4.856 MB / 1.218 GB, free: 24 kB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.1796/0.9678, allocations: 151.1 MB / 1.365 GB, free: 11.71 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001098/0.9689, allocations: 19.88 kB / 1.365 GB, free: 11.69 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0008584/0.9697, allocations: 182.3 kB / 1.365 GB, free: 11.51 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.002279/0.972, allocations: 0.551 MB / 1.366 GB, free: 10.96 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.002482/0.9745, allocations: 0.8253 MB / 1.367 GB, free: 10.14 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.002067/0.9766, allocations: 1.39 MB / 1.368 GB, free: 8.738 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009478/0.9775, allocations: 417.1 kB / 1.368 GB, free: 8.305 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008897/0.9784, allocations: 494.3 kB / 1.369 GB, free: 7.82 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008546/0.9793, allocations: 0.4978 MB / 1.369 GB, free: 7.32 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.000354/0.9796, allocations: 120 kB / 1.369 GB, free: 7.203 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001288/0.9809, allocations: 495.5 kB / 1.37 GB, free: 6.719 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0004133/0.9813, allocations: 291.1 kB / 1.37 GB, free: 6.434 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0007987/0.9821, allocations: 0.5558 MB / 1.371 GB, free: 5.875 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.00269/0.9848, allocations: 1.65 MB / 1.372 GB, free: 4.219 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 6.963e-06/0.9848, allocations: 3.938 kB / 1.372 GB, free: 4.215 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.004e-06/0.9848, allocations: 4 kB / 1.372 GB, free: 4.211 MB / 1.076 GB Notification: Performance of Transformations before backend: time 5.519e-05/0.9849, allocations: 0 / 1.372 GB, free: 4.211 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: 211 * Number of variables: 211 Notification: Performance of Generate backend data structure: time 0.003598/0.9885, allocations: 1.457 MB / 1.374 GB, free: 2.703 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.994e-05/0.9885, allocations: 12.62 kB / 1.374 GB, free: 2.691 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002766/0.9888, allocations: 139.4 kB / 1.374 GB, free: 2.547 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001046/0.9898, allocations: 188 kB / 1.374 GB, free: 2.363 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001532/0.9914, allocations: 0.766 MB / 1.375 GB, free: 1.551 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.129e-05/0.9914, allocations: 65.98 kB / 1.375 GB, free: 1.488 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001488/0.9916, allocations: 87.98 kB / 1.375 GB, free: 1.402 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001845/0.9934, allocations: 0.9184 MB / 1.376 GB, free: 452 kB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.184e-05/0.9935, allocations: 0 / 1.376 GB, free: 452 kB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.625e-05/0.9935, allocations: 36 kB / 1.376 GB, free: 416 kB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.293e-05/0.9936, allocations: 27.94 kB / 1.376 GB, free: 388 kB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001848/0.9954, allocations: 1.104 MB / 1.377 GB, free: 15.27 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.004781/1, allocations: 2.709 MB / 1.38 GB, free: 12.45 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001747/1.002, allocations: 0.8454 MB / 1.381 GB, free: 11.58 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000588/1.003, allocations: 274.7 kB / 1.381 GB, free: 11.31 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 8.708e-05/1.003, allocations: 36.59 kB / 1.381 GB, free: 11.28 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009624/1.004, allocations: 0.4889 MB / 1.381 GB, free: 10.77 MB / 1.092 GB Notification: Performance of pre-optimization done (n=79): time 2.975e-06/1.004, allocations: 3.938 kB / 1.381 GB, free: 10.77 MB / 1.092 GB Notification: Performance of matching and sorting (n=79): time 0.003297/1.007, allocations: 1.194 MB / 1.383 GB, free: 9.543 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00013/1.007, allocations: 192.6 kB / 1.383 GB, free: 9.312 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009787/1.008, allocations: 0.6254 MB / 1.383 GB, free: 8.684 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 0.000106/1.008, allocations: 41.7 kB / 1.383 GB, free: 8.637 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003665/1.008, allocations: 401 kB / 1.384 GB, free: 8.238 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002773/1.009, allocations: 273.7 kB / 1.384 GB, free: 7.969 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002348/1.009, allocations: 142.6 kB / 1.384 GB, free: 7.824 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0002067/1.009, allocations: 390.7 kB / 1.384 GB, free: 7.434 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005272/1.01, allocations: 249.9 kB / 1.385 GB, free: 7.191 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006218/1.01, allocations: 350.6 kB / 1.385 GB, free: 6.82 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001215/1.012, allocations: 0.5838 MB / 1.386 GB, free: 6.227 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.257e-06/1.012, allocations: 4 kB / 1.386 GB, free: 6.223 MB / 1.092 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.002/1.014, allocations: 0.8023 MB / 1.386 GB, free: 5.406 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 2.528e-05/1.014, allocations: 10.5 kB / 1.386 GB, free: 5.398 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.396e-06/1.014, allocations: 0 / 1.386 GB, free: 5.398 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006062/1.014, allocations: 88.75 kB / 1.387 GB, free: 5.309 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006427/1.015, allocations: 147.8 kB / 1.387 GB, free: 5.164 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002355/1.017, allocations: 1.647 MB / 1.388 GB, free: 3.371 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007917/1.018, allocations: 86.5 kB / 1.388 GB, free: 3.289 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.492e-05/1.018, allocations: 35.97 kB / 1.388 GB, free: 3.254 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: 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.0004914/1.019, allocations: 265.7 kB / 1.389 GB, free: 2.984 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002302/1.019, allocations: 87.44 kB / 1.389 GB, free: 2.898 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002528/1.021, allocations: 1.062 MB / 1.39 GB, free: 1.816 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.384e-05/1.021, allocations: 11.94 kB / 1.39 GB, free: 1.805 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/1.021, allocations: 0 / 1.39 GB, free: 1.805 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.085e-05/1.021, allocations: 3.984 kB / 1.39 GB, free: 1.801 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003773/1.025, allocations: 1.963 MB / 1.392 GB, free: 15.78 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.947e-06/1.025, allocations: 3.984 kB / 1.392 GB, free: 15.78 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005856/1.026, allocations: 139.8 kB / 1.392 GB, free: 15.64 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004493/1.026, allocations: 76.78 kB / 1.392 GB, free: 15.56 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.587e-05/1.026, allocations: 19.98 kB / 1.392 GB, free: 15.54 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002161/1.028, allocations: 1.674 MB / 1.394 GB, free: 13.73 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/1.028, allocations: 64 / 1.394 GB, free: 13.73 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00234/1.031, allocations: 1.002 MB / 1.395 GB, free: 12.7 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006388/1.031, allocations: 280.2 kB / 1.395 GB, free: 12.41 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001693/1.032, allocations: 16 kB / 1.395 GB, free: 12.39 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006731/1.032, allocations: 67.92 kB / 1.395 GB, free: 12.33 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001716/1.032, allocations: 72.84 kB / 1.395 GB, free: 12.26 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.72e-05/1.032, allocations: 35.97 kB / 1.395 GB, free: 12.22 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.0006447/1.033, allocations: 451 kB / 1.395 GB, free: 11.79 MB / 1.107 GB Notification: Performance of sort global known variables: time 1.2e-07/1.033, allocations: 0 / 1.395 GB, free: 11.79 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.001031/1.034, allocations: 323.1 kB / 1.396 GB, free: 11.47 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: 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.004538/1.039, allocations: 2.059 MB / 1.398 GB, free: 9.562 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.001942/1.041, allocations: 0.7729 MB / 1.398 GB, free: 8.781 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 4.779e-06/1.041, allocations: 0 / 1.398 GB, free: 8.781 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.000975/1.042, allocations: 496.1 kB / 1.399 GB, free: 8.285 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001406/1.043, allocations: 304 kB / 1.399 GB, free: 8.008 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01107/1.054, allocations: 6.213 MB / 1.405 GB, free: 1.68 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007135/1.055, allocations: 1.019 MB / 1.406 GB, free: 0.6289 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.0008479/1.056, allocations: 258.7 kB / 1.407 GB, free: 380 kB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005312/1.056, allocations: 367.3 kB / 1.407 GB, free: 12 kB / 1.107 GB Notification: Performance of SimCode: time 1.062e-06/1.056, allocations: 0 / 1.407 GB, free: 12 kB / 1.107 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06039/1.117, allocations: 21.69 MB / 1.428 GB, free: 10.52 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.91/14.03, allocations: 23.91 kB / 1.428 GB, free: 10.49 MB / 1.139 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: 19.93966779112816]