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) 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 10.1.1-maint.10.0.x/package.mo", uses=false) 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: translateModel(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|zen.y",fileNamePrefix="Buildings_10_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|zen.y",fileNamePrefix="Buildings_10_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.001496/0.001496, allocations: 113.1 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.001563/0.001563, allocations: 185.2 kB / 17.34 MB, free: 5.738 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.492/1.492, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.668/2.668, allocations: 437 MB / 0.7112 GB, free: 4.344 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001984/0.001984, allocations: 63.91 kB / 1.019 GB, free: 9.402 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8432/0.8452, allocations: 151.6 MB / 1.167 GB, free: 3.953 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.007209/0.8525, allocations: 4.825 MB / 1.172 GB, free: 15.1 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.1937/1.046, allocations: 150.6 MB / 1.319 GB, free: 7.898 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00115/1.047, allocations: 15.94 kB / 1.319 GB, free: 7.883 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0008874/1.048, allocations: 194.2 kB / 1.319 GB, free: 7.691 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.002208/1.051, allocations: 0.5488 MB / 1.32 GB, free: 7.145 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.002459/1.053, allocations: 0.8365 MB / 1.321 GB, free: 6.312 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.002096/1.055, allocations: 1.39 MB / 1.322 GB, free: 4.914 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00112/1.056, allocations: 0.584 MB / 1.323 GB, free: 4.305 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009063/1.057, allocations: 498.2 kB / 1.323 GB, free: 3.816 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008419/1.058, allocations: 0.5018 MB / 1.324 GB, free: 3.312 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0002448/1.058, allocations: 120 kB / 1.324 GB, free: 3.195 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001087/1.059, allocations: 479.6 kB / 1.324 GB, free: 2.727 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0003577/1.06, allocations: 299.1 kB / 1.324 GB, free: 2.434 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0006916/1.06, allocations: 0.5519 MB / 1.325 GB, free: 1.879 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.002397/1.063, allocations: 1.654 MB / 1.327 GB, free: 224 kB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/1.063, allocations: 4 kB / 1.327 GB, free: 220 kB / 1.045 GB Notification: Performance of FrontEnd: time 2.043e-06/1.063, allocations: 0 / 1.327 GB, free: 220 kB / 1.045 GB Notification: Performance of Transformations before backend: time 1.621e-05/1.063, allocations: 4 kB / 1.327 GB, free: 216 kB / 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.002691/1.066, allocations: 1.448 MB / 1.328 GB, free: 14.71 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.081e-05/1.066, allocations: 8.922 kB / 1.328 GB, free: 14.7 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009442/1.067, allocations: 192.1 kB / 1.328 GB, free: 14.52 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001248/1.068, allocations: 0.7739 MB / 1.329 GB, free: 13.7 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.873e-05/1.068, allocations: 66 kB / 1.329 GB, free: 13.64 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001125/1.068, allocations: 79.98 kB / 1.329 GB, free: 13.56 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001729/1.07, allocations: 0.9222 MB / 1.33 GB, free: 12.59 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.984e-05/1.07, allocations: 3.938 kB / 1.33 GB, free: 12.59 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001/1.07, allocations: 36 kB / 1.33 GB, free: 12.55 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.159e-05/1.07, allocations: 20 kB / 1.33 GB, free: 12.54 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001916/1.072, allocations: 1.108 MB / 1.331 GB, free: 11.43 MB / 1.061 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.004392/1.076, allocations: 2.709 MB / 1.334 GB, free: 8.602 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001741/1.078, allocations: 0.8915 MB / 1.335 GB, free: 7.695 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005821/1.079, allocations: 306.7 kB / 1.335 GB, free: 7.395 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 8.321e-05/1.079, allocations: 28.61 kB / 1.335 GB, free: 7.367 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009545/1.08, allocations: 499.3 kB / 1.335 GB, free: 6.859 MB / 1.061 GB Notification: Performance of pre-optimization done (n=79): time 2.565e-06/1.08, allocations: 3.938 kB / 1.335 GB, free: 6.855 MB / 1.061 GB Notification: Performance of matching and sorting (n=79): time 0.00332/1.083, allocations: 1.186 MB / 1.337 GB, free: 5.641 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001637/1.083, allocations: 196.5 kB / 1.337 GB, free: 5.406 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009018/1.084, allocations: 0.6214 MB / 1.337 GB, free: 4.777 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 7.734e-05/1.084, allocations: 45.7 kB / 1.337 GB, free: 4.727 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003733/1.085, allocations: 401 kB / 1.338 GB, free: 4.328 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002814/1.085, allocations: 265.8 kB / 1.338 GB, free: 4.066 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002629/1.085, allocations: 170.5 kB / 1.338 GB, free: 3.895 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0002233/1.085, allocations: 386.7 kB / 1.339 GB, free: 3.508 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005621/1.086, allocations: 269.9 kB / 1.339 GB, free: 3.246 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006971/1.087, allocations: 363.1 kB / 1.339 GB, free: 2.875 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001205/1.088, allocations: 0.6033 MB / 1.34 GB, free: 2.262 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/1.088, allocations: 4 kB / 1.34 GB, free: 2.258 MB / 1.061 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.00209/1.09, allocations: 0.8493 MB / 1.341 GB, free: 1.395 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.991e-05/1.09, allocations: 8 kB / 1.341 GB, free: 1.387 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/1.09, allocations: 0 / 1.341 GB, free: 1.387 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005981/1.091, allocations: 88.75 kB / 1.341 GB, free: 1.297 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006459/1.091, allocations: 155.8 kB / 1.341 GB, free: 1.145 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002347/1.094, allocations: 1.642 MB / 1.342 GB, free: 15.36 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000768/1.094, allocations: 98.16 kB / 1.343 GB, free: 15.26 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.8e-05/1.095, allocations: 35.97 kB / 1.343 GB, free: 15.23 MB / 1.076 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.0005105/1.095, allocations: 279.5 kB / 1.343 GB, free: 14.95 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001789/1.095, allocations: 83.48 kB / 1.343 GB, free: 14.86 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002654/1.098, allocations: 1.065 MB / 1.344 GB, free: 13.78 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.031e-05/1.098, allocations: 8 kB / 1.344 GB, free: 13.77 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/1.098, allocations: 3.938 kB / 1.344 GB, free: 13.77 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.068e-05/1.098, allocations: 7.922 kB / 1.344 GB, free: 13.76 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003628/1.102, allocations: 1.948 MB / 1.346 GB, free: 11.75 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/1.102, allocations: 0 / 1.346 GB, free: 11.75 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005671/1.102, allocations: 147.8 kB / 1.346 GB, free: 11.61 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004402/1.103, allocations: 68.8 kB / 1.346 GB, free: 11.54 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.382e-05/1.103, allocations: 27.97 kB / 1.346 GB, free: 11.51 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002222/1.105, allocations: 1.682 MB / 1.348 GB, free: 9.688 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/1.105, allocations: 3.938 kB / 1.348 GB, free: 9.684 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002216/1.107, allocations: 0.9984 MB / 1.349 GB, free: 8.664 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004216/1.108, allocations: 280.2 kB / 1.349 GB, free: 8.371 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001161/1.108, allocations: 16 kB / 1.349 GB, free: 8.355 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006275/1.108, allocations: 63.94 kB / 1.349 GB, free: 8.293 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001821/1.109, allocations: 72.89 kB / 1.349 GB, free: 8.223 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.446e-05/1.109, allocations: 27.98 kB / 1.349 GB, free: 8.195 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0006502/1.109, allocations: 455 kB / 1.35 GB, free: 7.754 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.6e-07/1.109, allocations: 0 / 1.35 GB, free: 7.754 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0009427/1.11, allocations: 327.2 kB / 1.35 GB, free: 7.434 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.001989/1.112, allocations: 0.6112 MB / 1.35 GB, free: 6.984 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001905/1.114, allocations: 0.8275 MB / 1.351 GB, free: 6.145 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 4.058e-06/1.114, allocations: 4 kB / 1.351 GB, free: 6.141 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.001009/1.115, allocations: 0.5158 MB / 1.352 GB, free: 5.609 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001357/1.117, allocations: 316.5 kB / 1.352 GB, free: 5.324 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003306/1.12, allocations: 1.652 MB / 1.354 GB, free: 3.645 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007339/1.121, allocations: 1.019 MB / 1.355 GB, free: 2.594 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.000845/1.122, allocations: 258.6 kB / 1.355 GB, free: 2.336 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002815/1.122, allocations: 107.4 kB / 1.355 GB, free: 2.23 MB / 1.076 GB Notification: Performance of SimCode: time 6.71e-07/1.122, allocations: 0 / 1.355 GB, free: 2.23 MB / 1.076 GB Notification: Performance of Templates: time 0.02876/1.151, allocations: 15.36 MB / 1.37 GB, free: 3.008 MB / 1.092 GB make -j1 -f Buildings_10_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.makefile (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 & ./Buildings_10_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe 2>&1) 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/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches