Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|zen.y",fileNamePrefix="Buildings_11_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.001692/0.001692, allocations: 106.3 kB / 15.98 MB, free: 6.348 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.001686/0.001686, allocations: 199 kB / 16.91 MB, free: 6.188 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.456/1.456, allocations: 222.9 MB / 240.6 MB, free: 13.71 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.703/2.703, allocations: 469.8 MB / 0.7427 GB, free: 3.586 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002162/0.002162, allocations: 64.02 kB / 0.9087 GB, free: 14.23 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3423/0.3445, allocations: 159.1 MB / 1.064 GB, free: 15.12 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.007174/0.3517, allocations: 4.827 MB / 1.069 GB, free: 10.27 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.7899/1.142, allocations: 148.4 MB / 1.214 GB, free: 11.34 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001187/1.143, allocations: 19.66 kB / 1.214 GB, free: 11.33 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0009635/1.144, allocations: 148.9 kB / 1.214 GB, free: 11.21 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.002578/1.147, allocations: 491.7 kB / 1.214 GB, free: 10.88 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.002487/1.149, allocations: 0.7478 MB / 1.215 GB, free: 10.36 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.002264/1.151, allocations: 1.373 MB / 1.216 GB, free: 9.52 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001023/1.152, allocations: 0.6008 MB / 1.217 GB, free: 9.148 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009062/1.153, allocations: 484.2 kB / 1.217 GB, free: 8.863 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006882/1.154, allocations: 0.4958 MB / 1.218 GB, free: 8.512 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0001702/1.154, allocations: 118.2 kB / 1.218 GB, free: 8.512 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001086/1.155, allocations: 462 kB / 1.219 GB, free: 8.348 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0003306/1.156, allocations: 294.2 kB / 1.219 GB, free: 8.117 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0006157/1.156, allocations: 0.5643 MB / 1.219 GB, free: 7.699 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.001786/1.158, allocations: 1.233 MB / 1.221 GB, free: 6.82 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 6.562e-06/1.158, allocations: 0 / 1.221 GB, free: 6.82 MB / 0.9356 GB Notification: Performance of FrontEnd: time 4.057e-06/1.158, allocations: 1.094 kB / 1.221 GB, free: 6.82 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.802e-05/1.158, allocations: 0 / 1.221 GB, free: 6.82 MB / 0.9356 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.002897/1.161, allocations: 1.42 MB / 1.222 GB, free: 5.703 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.192e-05/1.161, allocations: 7.875 kB / 1.222 GB, free: 5.703 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009399/1.162, allocations: 187.6 kB / 1.222 GB, free: 5.613 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001112/1.163, allocations: 0.7326 MB / 1.223 GB, free: 5.008 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.834e-05/1.163, allocations: 59.84 kB / 1.223 GB, free: 4.98 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000102/1.163, allocations: 87.3 kB / 1.223 GB, free: 4.949 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001608/1.165, allocations: 0.915 MB / 1.224 GB, free: 4.359 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.214e-05/1.165, allocations: 5.094 kB / 1.224 GB, free: 4.355 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.861e-05/1.165, allocations: 36.22 kB / 1.224 GB, free: 4.328 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.789e-05/1.165, allocations: 20.22 kB / 1.224 GB, free: 4.328 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00169/1.167, allocations: 1.111 MB / 1.225 GB, free: 3.793 MB / 0.9356 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.004501/1.171, allocations: 2.732 MB / 1.228 GB, free: 1.336 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001782/1.173, allocations: 0.8876 MB / 1.229 GB, free: 436 kB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000604/1.174, allocations: 306.7 kB / 1.229 GB, free: 128 kB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001009/1.174, allocations: 32.56 kB / 1.229 GB, free: 96 kB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00118/1.175, allocations: 495.2 kB / 1.229 GB, free: 15.59 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=79): time 3.427e-06/1.175, allocations: 3.656 kB / 1.229 GB, free: 15.59 MB / 0.9512 GB Notification: Performance of matching and sorting (n=79): time 0.003568/1.179, allocations: 1.19 MB / 1.231 GB, free: 14.37 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001489/1.179, allocations: 192.6 kB / 1.231 GB, free: 14.14 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009747/1.18, allocations: 0.6254 MB / 1.231 GB, free: 13.51 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 9.027e-05/1.18, allocations: 41.7 kB / 1.231 GB, free: 13.46 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003915/1.18, allocations: 392.3 kB / 1.232 GB, free: 13.07 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002662/1.18, allocations: 260.3 kB / 1.232 GB, free: 12.81 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000284/1.181, allocations: 158.5 kB / 1.232 GB, free: 12.65 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0002473/1.181, allocations: 390.7 kB / 1.232 GB, free: 12.26 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005475/1.182, allocations: 265.9 kB / 1.233 GB, free: 12 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006795/1.182, allocations: 367 kB / 1.233 GB, free: 11.63 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001182/1.183, allocations: 0.6072 MB / 1.234 GB, free: 11.01 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/1.183, allocations: 0 / 1.234 GB, free: 11.01 MB / 0.9512 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.002278/1.186, allocations: 0.8488 MB / 1.235 GB, free: 10.15 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.883e-05/1.186, allocations: 6.812 kB / 1.235 GB, free: 10.14 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.103e-05/1.186, allocations: 0 / 1.235 GB, free: 10.14 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006638/1.186, allocations: 80.88 kB / 1.235 GB, free: 10.06 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006789/1.187, allocations: 163.7 kB / 1.235 GB, free: 9.902 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002589/1.19, allocations: 1.65 MB / 1.236 GB, free: 8.109 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009368/1.191, allocations: 91.39 kB / 1.236 GB, free: 8.02 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.157e-05/1.191, allocations: 35.97 kB / 1.236 GB, free: 7.984 MB / 0.9512 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.0006281/1.191, allocations: 275.9 kB / 1.237 GB, free: 7.707 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001867/1.192, allocations: 82.97 kB / 1.237 GB, free: 7.625 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002547/1.194, allocations: 1.063 MB / 1.238 GB, free: 6.555 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.207e-05/1.194, allocations: 8 kB / 1.238 GB, free: 6.547 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/1.194, allocations: 3.938 kB / 1.238 GB, free: 6.543 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.356e-05/1.194, allocations: 7.922 kB / 1.238 GB, free: 6.535 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00368/1.198, allocations: 1.96 MB / 1.24 GB, free: 4.516 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.841e-06/1.198, allocations: 0 / 1.24 GB, free: 4.516 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005874/1.199, allocations: 147.8 kB / 1.24 GB, free: 4.371 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004777/1.199, allocations: 72.78 kB / 1.24 GB, free: 4.297 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.545e-05/1.199, allocations: 23.98 kB / 1.24 GB, free: 4.273 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002345/1.201, allocations: 1.672 MB / 1.242 GB, free: 2.461 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.305e-06/1.202, allocations: 0 / 1.242 GB, free: 2.461 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00234/1.204, allocations: 0.9999 MB / 1.243 GB, free: 1.441 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005839/1.204, allocations: 267.8 kB / 1.243 GB, free: 1.16 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001502/1.205, allocations: 16 kB / 1.243 GB, free: 1.145 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006993/1.205, allocations: 69.05 kB / 1.243 GB, free: 1.078 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002101/1.206, allocations: 72.89 kB / 1.243 GB, free: 1.004 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.325e-05/1.206, allocations: 35.97 kB / 1.243 GB, free: 0.9688 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0007046/1.206, allocations: 451 kB / 1.244 GB, free: 0.5312 MB / 0.9512 GB Notification: Performance of sort global known variables: time 2.1e-07/1.206, allocations: 0 / 1.244 GB, free: 0.5312 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.001186/1.208, allocations: 323.2 kB / 1.244 GB, free: 220 kB / 0.9512 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.002274/1.21, allocations: 0.6059 MB / 1.244 GB, free: 15.79 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.002601/1.212, allocations: 1.031 MB / 1.245 GB, free: 14.75 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 3.496e-06/1.212, allocations: 4 kB / 1.245 GB, free: 14.75 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0009718/1.213, allocations: 0.512 MB / 1.246 GB, free: 14.22 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00136/1.215, allocations: 303.5 kB / 1.246 GB, free: 13.95 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003549/1.218, allocations: 2.087 MB / 1.248 GB, free: 11.82 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006937/1.219, allocations: 1.015 MB / 1.249 GB, free: 10.78 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003292/1.219, allocations: 119.4 kB / 1.249 GB, free: 10.66 MB / 0.9669 GB Notification: Performance of SimCode: time 7.91e-07/1.219, allocations: 0 / 1.249 GB, free: 10.66 MB / 0.9669 GB Notification: Performance of Templates: time 0.02828/1.248, allocations: 18.47 MB / 1.267 GB, free: 8.234 MB / 0.9825 GB make -j1 -f Buildings_11_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.makefile (rm -f Buildings_11_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.sim & ./Buildings_11_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches