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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001181/0.001181, allocations: 92.16 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002032/0.002032, allocations: 172.9 kB / 16.92 MB, free: 6.652 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.567/1.567, allocations: 223.3 MB / 241 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.645/2.645, allocations: 437.8 MB / 0.7128 GB, free: 6.941 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004145/0.0004147, allocations: 8 kB / 0.8735 GB, free: 3.301 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8797/0.8801, allocations: 153.8 MB / 1.024 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.006799/0.887, allocations: 4.403 MB / 1.028 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1969/1.084, allocations: 146.7 MB / 1.171 GB, free: 8.172 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001178/1.085, allocations: 15.94 kB / 1.171 GB, free: 8.156 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0007109/1.086, allocations: 142.8 kB / 1.171 GB, free: 8.016 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.00202/1.088, allocations: 469.4 kB / 1.172 GB, free: 7.559 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.002082/1.09, allocations: 0.7249 MB / 1.173 GB, free: 6.84 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.001346/1.091, allocations: 1.296 MB / 1.174 GB, free: 5.539 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000892/1.092, allocations: 0.5554 MB / 1.174 GB, free: 4.965 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004813/1.093, allocations: 350.3 kB / 1.175 GB, free: 4.621 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004951/1.093, allocations: 385.9 kB / 1.175 GB, free: 4.242 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 6.879e-05/1.093, allocations: 28 kB / 1.175 GB, free: 4.215 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00076/1.094, allocations: 363.7 kB / 1.175 GB, free: 3.859 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.000207/1.094, allocations: 187.1 kB / 1.176 GB, free: 3.676 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0004222/1.095, allocations: 474.9 kB / 1.176 GB, free: 3.203 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.001166/1.096, allocations: 1.184 MB / 1.177 GB, free: 2.016 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/1.096, allocations: 0 / 1.177 GB, free: 2.016 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.786e-06/1.096, allocations: 0 / 1.177 GB, free: 2.016 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.361e-05/1.096, allocations: 0 / 1.177 GB, free: 2.016 MB / 0.92 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.002355/1.098, allocations: 1.212 MB / 1.178 GB, free: 0.7461 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.028e-05/1.098, allocations: 8.031 kB / 1.178 GB, free: 0.7383 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009143/1.099, allocations: 199.4 kB / 1.179 GB, free: 0.543 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001028/1.1, allocations: 0.7307 MB / 1.179 GB, free: 15.77 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.953e-05/1.1, allocations: 62 kB / 1.179 GB, free: 15.71 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001243/1.101, allocations: 83.94 kB / 1.179 GB, free: 15.62 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001569/1.102, allocations: 0.9301 MB / 1.18 GB, free: 14.65 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.814e-05/1.102, allocations: 7.938 kB / 1.18 GB, free: 14.64 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.727e-05/1.102, allocations: 36 kB / 1.18 GB, free: 14.61 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.782e-05/1.102, allocations: 20 kB / 1.18 GB, free: 14.59 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001786/1.104, allocations: 1.116 MB / 1.182 GB, free: 13.48 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.004111/1.108, allocations: 2.757 MB / 1.184 GB, free: 10.61 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001539/1.11, allocations: 0.9001 MB / 1.185 GB, free: 9.688 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005216/1.11, allocations: 306.7 kB / 1.185 GB, free: 9.387 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 8.185e-05/1.11, allocations: 32.61 kB / 1.185 GB, free: 9.355 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00088/1.111, allocations: 499 kB / 1.186 GB, free: 8.848 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=79): time 2.765e-06/1.111, allocations: 4 kB / 1.186 GB, free: 8.844 MB / 0.9356 GB Notification: Performance of matching and sorting (n=79): time 0.003018/1.114, allocations: 1.205 MB / 1.187 GB, free: 7.609 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001064/1.114, allocations: 188.6 kB / 1.187 GB, free: 7.383 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007688/1.115, allocations: 0.6291 MB / 1.188 GB, free: 6.746 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 6.668e-05/1.115, allocations: 41.7 kB / 1.188 GB, free: 6.699 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003037/1.116, allocations: 392.4 kB / 1.188 GB, free: 6.309 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001989/1.116, allocations: 252.3 kB / 1.189 GB, free: 6.059 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.756e-05/1.116, allocations: 77.67 kB / 1.189 GB, free: 5.977 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.00016/1.116, allocations: 390.7 kB / 1.189 GB, free: 5.586 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005113/1.117, allocations: 265.9 kB / 1.189 GB, free: 5.324 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000587/1.117, allocations: 367.1 kB / 1.19 GB, free: 4.949 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001073/1.118, allocations: 0.6151 MB / 1.19 GB, free: 4.324 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/1.118, allocations: 0 / 1.19 GB, free: 4.324 MB / 0.9356 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001862/1.12, allocations: 0.8566 MB / 1.191 GB, free: 3.461 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.249e-05/1.12, allocations: 5.406 kB / 1.191 GB, free: 3.457 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.067e-06/1.12, allocations: 4 kB / 1.191 GB, free: 3.453 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006043/1.121, allocations: 84.81 kB / 1.191 GB, free: 3.367 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006213/1.121, allocations: 159.8 kB / 1.191 GB, free: 3.211 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002054/1.124, allocations: 1.547 MB / 1.193 GB, free: 1.52 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007597/1.124, allocations: 103.4 kB / 1.193 GB, free: 1.418 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.884e-05/1.124, allocations: 35.97 kB / 1.193 GB, free: 1.383 MB / 0.9356 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.0004674/1.125, allocations: 264 kB / 1.193 GB, free: 1.117 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001186/1.125, allocations: 82.91 kB / 1.193 GB, free: 1.035 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002309/1.127, allocations: 1.077 MB / 1.194 GB, free: 15.94 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.788e-06/1.127, allocations: 8 kB / 1.194 GB, free: 15.93 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/1.127, allocations: 4 kB / 1.194 GB, free: 15.93 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.025e-05/1.127, allocations: 7.922 kB / 1.194 GB, free: 15.92 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003122/1.13, allocations: 1.974 MB / 1.196 GB, free: 13.88 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.789e-06/1.13, allocations: 0 / 1.196 GB, free: 13.88 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005636/1.131, allocations: 147.8 kB / 1.196 GB, free: 13.74 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005328/1.132, allocations: 84.78 kB / 1.196 GB, free: 13.65 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.502e-05/1.132, allocations: 27.97 kB / 1.196 GB, free: 13.62 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001909/1.134, allocations: 1.551 MB / 1.198 GB, free: 11.93 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/1.134, allocations: 3.938 kB / 1.198 GB, free: 11.93 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002035/1.136, allocations: 1.004 MB / 1.199 GB, free: 10.9 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004117/1.136, allocations: 279.7 kB / 1.199 GB, free: 10.61 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001122/1.136, allocations: 24 kB / 1.199 GB, free: 10.59 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006821/1.137, allocations: 93.72 kB / 1.199 GB, free: 10.5 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001737/1.137, allocations: 80.83 kB / 1.199 GB, free: 10.42 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.708e-05/1.137, allocations: 27.98 kB / 1.199 GB, free: 10.39 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0006192/1.138, allocations: 455 kB / 1.2 GB, free: 9.953 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.6e-07/1.138, allocations: 0 / 1.2 GB, free: 9.953 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0009808/1.139, allocations: 319.3 kB / 1.2 GB, free: 9.641 MB / 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.001438/1.14, allocations: 0.6071 MB / 1.201 GB, free: 9.207 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001695/1.142, allocations: 0.8353 MB / 1.202 GB, free: 8.363 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/1.142, allocations: 0 / 1.202 GB, free: 8.363 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.000891/1.143, allocations: 0.5159 MB / 1.202 GB, free: 7.836 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001311/1.144, allocations: 272.8 kB / 1.202 GB, free: 7.574 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003287/1.147, allocations: 2.108 MB / 1.204 GB, free: 5.434 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006009/1.148, allocations: 1.012 MB / 1.205 GB, free: 4.398 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003009/1.148, allocations: 119.4 kB / 1.206 GB, free: 4.281 MB / 0.9512 GB Notification: Performance of SimCode: time 4.4e-07/1.148, allocations: 0 / 1.206 GB, free: 4.281 MB / 0.9512 GB Notification: Performance of Templates: time 0.02755/1.176, allocations: 18.36 MB / 1.223 GB, free: 1.969 MB / 0.9669 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 -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