Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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) 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.BaseClasses.Examples.ZenithAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|zen.zen",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|zen.zen",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001228/0.001228, allocations: 105.2 kB / 16.41 MB, free: 6.512 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.001165/0.001165, allocations: 187 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.215/1.215, 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.328/2.328, allocations: 461.9 MB / 0.7355 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001156/0.001156, allocations: 59.91 kB / 1.055 GB, free: 7.691 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6394/0.6406, allocations: 157.4 MB / 1.208 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle): time 0.006058/0.6467, allocations: 4.915 MB / 1.213 GB, free: 8.676 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.1473/0.794, allocations: 150.6 MB / 1.36 GB, free: 1.449 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007755/0.7948, allocations: 19.94 kB / 1.36 GB, free: 1.43 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0006996/0.7956, allocations: 186.2 kB / 1.361 GB, free: 1.246 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.001809/0.7974, allocations: 0.5511 MB / 1.361 GB, free: 0.6953 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.00193/0.7993, allocations: 0.8499 MB / 1.362 GB, free: 15.85 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.001631/0.801, allocations: 1.432 MB / 1.363 GB, free: 14.41 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008848/0.8019, allocations: 0.5871 MB / 1.364 GB, free: 13.81 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007118/0.8026, allocations: 0.4944 MB / 1.364 GB, free: 13.31 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006829/0.8033, allocations: 0.5173 MB / 1.365 GB, free: 12.79 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0002325/0.8035, allocations: 120 kB / 1.365 GB, free: 12.68 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008974/0.8044, allocations: 487.6 kB / 1.365 GB, free: 12.2 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0002781/0.8047, allocations: 307 kB / 1.366 GB, free: 11.9 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0005652/0.8053, allocations: 0.583 MB / 1.366 GB, free: 11.31 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.001751/0.8071, allocations: 1.653 MB / 1.368 GB, free: 9.656 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.8071, allocations: 3.938 kB / 1.368 GB, free: 9.652 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.353e-06/0.8071, allocations: 0 / 1.368 GB, free: 9.652 MB / 1.092 GB Notification: Performance of Transformations before backend: time 3.684e-05/0.8071, allocations: 4 kB / 1.368 GB, free: 9.648 MB / 1.092 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.002651/0.8098, allocations: 1.455 MB / 1.369 GB, free: 8.137 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 3.332e-05/0.8098, allocations: 12.03 kB / 1.369 GB, free: 8.125 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008895/0.8107, allocations: 191.4 kB / 1.37 GB, free: 7.938 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001078/0.8118, allocations: 0.7702 MB / 1.37 GB, free: 7.125 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.041e-05/0.8119, allocations: 69.98 kB / 1.37 GB, free: 7.059 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001016/0.812, allocations: 87.94 kB / 1.37 GB, free: 6.973 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00145/0.8134, allocations: 0.9379 MB / 1.371 GB, free: 5.992 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.6e-05/0.8135, allocations: 0 / 1.371 GB, free: 5.992 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.891e-05/0.8135, allocations: 36 kB / 1.371 GB, free: 5.957 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.633e-05/0.8136, allocations: 24 kB / 1.371 GB, free: 5.934 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001579/0.8152, allocations: 1.128 MB / 1.372 GB, free: 4.809 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.003446/0.8186, allocations: 2.732 MB / 1.375 GB, free: 1.957 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001413/0.82, allocations: 0.9071 MB / 1.376 GB, free: 1.016 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005007/0.8205, allocations: 314.7 kB / 1.376 GB, free: 0.707 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 7.691e-05/0.8206, allocations: 32.69 kB / 1.376 GB, free: 0.6758 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000815/0.8214, allocations: 0.5159 MB / 1.377 GB, free: 148 kB / 1.092 GB Notification: Performance of pre-optimization done (n=84): time 2.305e-06/0.8215, allocations: 0 / 1.377 GB, free: 148 kB / 1.092 GB Notification: Performance of matching and sorting (n=84): time 0.002989/0.8245, allocations: 1.251 MB / 1.378 GB, free: 14.86 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.12e-05/0.8246, allocations: 196.9 kB / 1.378 GB, free: 14.62 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006863/0.8253, allocations: 0.6448 MB / 1.379 GB, free: 13.97 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 6.059e-05/0.8253, allocations: 45.7 kB / 1.379 GB, free: 13.92 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002554/0.8256, allocations: 404.4 kB / 1.379 GB, free: 13.52 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001755/0.8258, allocations: 264.1 kB / 1.38 GB, free: 13.26 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002239/0.826, allocations: 170.4 kB / 1.38 GB, free: 13.09 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001406/0.8261, allocations: 394.7 kB / 1.38 GB, free: 12.7 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000495/0.8266, allocations: 277.8 kB / 1.38 GB, free: 12.42 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005828/0.8272, allocations: 371.1 kB / 1.381 GB, free: 12.05 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001046/0.8283, allocations: 0.6242 MB / 1.381 GB, free: 11.41 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.8283, allocations: 0 / 1.381 GB, free: 11.41 MB / 1.107 GB Notification: Performance of matching and sorting (n=101) (initialization): time 0.001798/0.8301, allocations: 0.8762 MB / 1.382 GB, free: 10.52 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.731e-05/0.8301, allocations: 12 kB / 1.382 GB, free: 10.51 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.604e-06/0.8302, allocations: 3.938 kB / 1.382 GB, free: 10.51 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005467/0.8307, allocations: 80.78 kB / 1.382 GB, free: 10.43 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000634/0.8313, allocations: 167.7 kB / 1.382 GB, free: 10.26 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001858/0.8332, allocations: 1.637 MB / 1.384 GB, free: 8.484 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007043/0.8339, allocations: 99.25 kB / 1.384 GB, free: 8.387 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.242e-05/0.834, allocations: 35.97 kB / 1.384 GB, free: 8.352 MB / 1.107 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 20 (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,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 (99): * Single equations (assignments): 98 * 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.0004007/0.8344, allocations: 275.8 kB / 1.384 GB, free: 8.074 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001487/0.8346, allocations: 86.97 kB / 1.385 GB, free: 7.988 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002244/0.8368, allocations: 1.132 MB / 1.386 GB, free: 6.836 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.038e-05/0.8368, allocations: 15.94 kB / 1.386 GB, free: 6.82 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.484e-06/0.8368, allocations: 0 / 1.386 GB, free: 6.82 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.163e-05/0.8369, allocations: 3.984 kB / 1.386 GB, free: 6.816 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002961/0.8398, allocations: 2.017 MB / 1.388 GB, free: 4.742 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.8398, allocations: 0 / 1.388 GB, free: 4.742 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005745/0.8404, allocations: 151.7 kB / 1.388 GB, free: 4.594 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004125/0.8408, allocations: 80.78 kB / 1.388 GB, free: 4.512 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.263e-05/0.8409, allocations: 27.97 kB / 1.388 GB, free: 4.484 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001703/0.8426, allocations: 1.654 MB / 1.39 GB, free: 2.688 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.8426, allocations: 0 / 1.39 GB, free: 2.688 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00192/0.8446, allocations: 1.045 MB / 1.391 GB, free: 1.621 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003712/0.8449, allocations: 287.6 kB / 1.391 GB, free: 1.32 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001329/0.8451, allocations: 16 kB / 1.391 GB, free: 1.305 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006829/0.8458, allocations: 75.98 kB / 1.391 GB, free: 1.23 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001512/0.8459, allocations: 73.03 kB / 1.391 GB, free: 1.16 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.285e-05/0.846, allocations: 39.97 kB / 1.391 GB, free: 1.121 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.000534/0.8466, allocations: 467 kB / 1.391 GB, free: 0.668 MB / 1.107 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8466, allocations: 0 / 1.391 GB, free: 0.668 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.0008395/0.8474, allocations: 331.2 kB / 1.392 GB, free: 352 kB / 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.001344/0.8488, allocations: 0.6067 MB / 1.392 GB, free: 15.91 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.001682/0.8505, allocations: 0.8665 MB / 1.393 GB, free: 15.04 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.8505, allocations: 0 / 1.393 GB, free: 15.04 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0009063/0.8514, allocations: 0.5393 MB / 1.394 GB, free: 14.48 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001226/0.8526, allocations: 309.5 kB / 1.394 GB, free: 14.21 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002879/0.8555, allocations: 1.722 MB / 1.396 GB, free: 12.45 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005468/0.8561, allocations: 1.029 MB / 1.397 GB, free: 11.39 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003021/0.8564, allocations: 123.4 kB / 1.397 GB, free: 11.27 MB / 1.123 GB Notification: Performance of SimCode: time 6.31e-07/0.8564, allocations: 0 / 1.397 GB, free: 11.27 MB / 1.123 GB Notification: Performance of Templates: time 0.02059/0.877, allocations: 19.04 MB / 1.415 GB, free: 8.285 MB / 1.139 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.sim & ./Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches