Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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: translateModel(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|zen.y",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|zen.y",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001209/0.001209, allocations: 103.6 kB / 16.41 MB, free: 6.508 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001291/0.001291, allocations: 192.2 kB / 17.34 MB, free: 5.742 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.189/1.189, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.3/2.3, allocations: 469.4 MB / 0.7428 GB, free: 3.488 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001142/0.001142, allocations: 63.91 kB / 1.065 GB, free: 13.82 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6296/0.6307, allocations: 159.1 MB / 1.221 GB, free: 2.367 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.005252/0.636, allocations: 4.825 MB / 1.226 GB, free: 13.52 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.1305/0.7666, allocations: 150.6 MB / 1.373 GB, free: 6.336 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000677/0.7673, allocations: 19.94 kB / 1.373 GB, free: 6.316 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.0005835/0.7679, allocations: 194.2 kB / 1.373 GB, free: 6.125 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.001596/0.7695, allocations: 0.551 MB / 1.373 GB, free: 5.574 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.001685/0.7712, allocations: 0.8364 MB / 1.374 GB, free: 4.746 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.001323/0.7725, allocations: 1.386 MB / 1.376 GB, free: 3.355 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007518/0.7733, allocations: 0.5947 MB / 1.376 GB, free: 2.734 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005641/0.7739, allocations: 482.3 kB / 1.377 GB, free: 2.262 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005485/0.7744, allocations: 0.5081 MB / 1.377 GB, free: 1.754 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0001799/0.7746, allocations: 120 kB / 1.377 GB, free: 1.637 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007764/0.7754, allocations: 483.6 kB / 1.378 GB, free: 1.164 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0002412/0.7757, allocations: 299 kB / 1.378 GB, free: 0.8711 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0004647/0.7761, allocations: 0.5597 MB / 1.378 GB, free: 316 kB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.001533/0.7777, allocations: 1.637 MB / 1.38 GB, free: 14.67 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.7777, allocations: 4 kB / 1.38 GB, free: 14.66 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.102e-06/0.7777, allocations: 0 / 1.38 GB, free: 14.66 MB / 1.107 GB Notification: Performance of Transformations before backend: time 3.29e-05/0.7777, allocations: 0 / 1.38 GB, free: 14.66 MB / 1.107 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.002271/0.78, allocations: 1.422 MB / 1.381 GB, free: 13.19 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 2.98e-05/0.78, allocations: 8.625 kB / 1.381 GB, free: 13.18 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008468/0.7809, allocations: 183.4 kB / 1.382 GB, free: 13 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00103/0.7819, allocations: 0.7539 MB / 1.382 GB, free: 12.2 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.823e-05/0.782, allocations: 69.98 kB / 1.382 GB, free: 12.14 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.166e-05/0.7821, allocations: 76 kB / 1.383 GB, free: 12.06 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001375/0.7835, allocations: 0.9261 MB / 1.383 GB, free: 11.09 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.824e-05/0.7835, allocations: 3.938 kB / 1.383 GB, free: 11.09 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.408e-05/0.7836, allocations: 32 kB / 1.383 GB, free: 11.06 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.686e-05/0.7836, allocations: 20 kB / 1.383 GB, free: 11.04 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001561/0.7852, allocations: 1.116 MB / 1.385 GB, free: 9.926 MB / 1.107 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.003383/0.7886, allocations: 2.704 MB / 1.387 GB, free: 7.102 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001377/0.7899, allocations: 0.8909 MB / 1.388 GB, free: 6.191 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004783/0.7904, allocations: 314.6 kB / 1.388 GB, free: 5.879 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 6.047e-05/0.7905, allocations: 24.61 kB / 1.388 GB, free: 5.855 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007278/0.7912, allocations: 495.2 kB / 1.389 GB, free: 5.352 MB / 1.107 GB Notification: Performance of pre-optimization done (n=79): time 5.681e-06/0.7913, allocations: 7.984 kB / 1.389 GB, free: 5.344 MB / 1.107 GB Notification: Performance of matching and sorting (n=79): time 0.002677/0.7939, allocations: 1.186 MB / 1.39 GB, free: 4.133 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.053e-05/0.794, allocations: 196.6 kB / 1.39 GB, free: 3.898 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006272/0.7947, allocations: 0.6291 MB / 1.391 GB, free: 3.262 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 5.742e-05/0.7947, allocations: 41.7 kB / 1.391 GB, free: 3.215 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002281/0.795, allocations: 384.4 kB / 1.391 GB, free: 2.832 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.000165/0.7951, allocations: 256.4 kB / 1.391 GB, free: 2.578 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001994/0.7953, allocations: 166.4 kB / 1.392 GB, free: 2.41 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001317/0.7955, allocations: 386.7 kB / 1.392 GB, free: 2.023 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004785/0.796, allocations: 269.9 kB / 1.392 GB, free: 1.758 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005543/0.7965, allocations: 367 kB / 1.393 GB, free: 1.387 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000975/0.7975, allocations: 0.6073 MB / 1.393 GB, free: 0.7695 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.7975, allocations: 0 / 1.393 GB, free: 0.7695 MB / 1.107 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001687/0.7992, allocations: 0.8449 MB / 1.394 GB, free: 15.91 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.313e-05/0.7992, allocations: 4 kB / 1.394 GB, free: 15.91 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.68e-06/0.7992, allocations: 4 kB / 1.394 GB, free: 15.91 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00053/0.7998, allocations: 88.8 kB / 1.394 GB, free: 15.82 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005674/0.8004, allocations: 155.7 kB / 1.394 GB, free: 15.66 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001792/0.8022, allocations: 1.639 MB / 1.396 GB, free: 13.88 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006124/0.8028, allocations: 87.33 kB / 1.396 GB, free: 13.79 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.371e-05/0.8029, allocations: 44.03 kB / 1.396 GB, free: 13.75 MB / 1.123 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 17 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,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 (93): * Single equations (assignments): 92 * 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.000325/0.8032, allocations: 274.1 kB / 1.396 GB, free: 13.48 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001363/0.8033, allocations: 83.05 kB / 1.396 GB, free: 13.39 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002063/0.8054, allocations: 1.054 MB / 1.397 GB, free: 12.32 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.285e-06/0.8054, allocations: 8 kB / 1.397 GB, free: 12.31 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.8054, allocations: 7.875 kB / 1.397 GB, free: 12.3 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.638e-06/0.8054, allocations: 3.984 kB / 1.397 GB, free: 12.3 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002778/0.8082, allocations: 1.971 MB / 1.399 GB, free: 10.27 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.8082, allocations: 0 / 1.399 GB, free: 10.27 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005155/0.8088, allocations: 147.8 kB / 1.399 GB, free: 10.12 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000397/0.8092, allocations: 68.78 kB / 1.4 GB, free: 10.05 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.232e-05/0.8092, allocations: 23.98 kB / 1.4 GB, free: 10.03 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00161/0.8108, allocations: 1.681 MB / 1.401 GB, free: 8.203 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.8109, allocations: 0 / 1.401 GB, free: 8.203 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001715/0.8126, allocations: 0.9941 MB / 1.402 GB, free: 7.195 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003215/0.8129, allocations: 275.7 kB / 1.402 GB, free: 6.906 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001131/0.813, allocations: 20 kB / 1.402 GB, free: 6.887 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006/0.8136, allocations: 66.59 kB / 1.403 GB, free: 6.824 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001297/0.8138, allocations: 64.91 kB / 1.403 GB, free: 6.758 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.129e-05/0.8138, allocations: 35.97 kB / 1.403 GB, free: 6.723 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0004547/0.8143, allocations: 451 kB / 1.403 GB, free: 6.285 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8143, allocations: 4 kB / 1.403 GB, free: 6.281 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.0007155/0.815, allocations: 327.2 kB / 1.403 GB, free: 5.961 MB / 1.123 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.001198/0.8162, allocations: 0.5894 MB / 1.404 GB, free: 5.543 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.001458/0.8177, allocations: 0.8197 MB / 1.405 GB, free: 4.711 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/0.8177, allocations: 4 kB / 1.405 GB, free: 4.707 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0008113/0.8185, allocations: 0.5158 MB / 1.405 GB, free: 4.18 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001106/0.8197, allocations: 311.5 kB / 1.406 GB, free: 3.898 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00242/0.8221, allocations: 1.668 MB / 1.407 GB, free: 2.195 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004745/0.8226, allocations: 1.012 MB / 1.408 GB, free: 1.152 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002689/0.8228, allocations: 119.4 kB / 1.408 GB, free: 1.035 MB / 1.123 GB Notification: Performance of SimCode: time 1.563e-06/0.8229, allocations: 0 / 1.408 GB, free: 1.035 MB / 1.123 GB Notification: Performance of Templates: time 0.02038/0.8432, allocations: 18.58 MB / 1.426 GB, free: 14.5 MB / 1.154 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.sim & ./Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches