Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.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.IncidenceAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|incAngHor.y|incAngNor.y|incAngWes.y|incAngSou.y|incAngEas.y",fileNamePrefix="Buildings_10_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|incAngHor.y|incAngNor.y|incAngWes.y|incAngSou.y|incAngEas.y",fileNamePrefix="Buildings_10_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008687/0.0008686, allocations: 89.66 kB / 15.36 MB, free: 0.7383 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.00657/0.00657, allocations: 169.6 kB / 16.26 MB, free: 6.676 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.482/1.482, allocations: 223.3 MB / 240.3 MB, free: 5.359 MB / 190.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.784/2.784, allocations: 437.8 MB / 0.7121 GB, free: 6.984 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003679/0.0003681, allocations: 8 kB / 0.8728 GB, free: 3.305 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.656/0.6564, allocations: 153.8 MB / 1.023 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle): time 0.007932/0.6644, allocations: 6.449 MB / 1.029 GB, free: 9.387 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1783/0.8428, allocations: 147.4 MB / 1.173 GB, free: 5.461 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001139/0.844, allocations: 15.94 kB / 1.173 GB, free: 5.445 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0006884/0.8447, allocations: 194.4 kB / 1.173 GB, free: 5.254 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.002335/0.847, allocations: 0.7013 MB / 1.174 GB, free: 4.555 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.002155/0.8492, allocations: 0.8639 MB / 1.175 GB, free: 3.699 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.00243/0.8516, allocations: 2 MB / 1.177 GB, free: 1.691 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001491/0.8531, allocations: 0.9711 MB / 1.178 GB, free: 0.6719 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001124/0.8543, allocations: 0.5831 MB / 1.178 GB, free: 88 kB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009359/0.8552, allocations: 0.6489 MB / 1.179 GB, free: 15.43 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.000134/0.8554, allocations: 44 kB / 1.179 GB, free: 15.39 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009883/0.8564, allocations: 379.6 kB / 1.179 GB, free: 15.02 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0003526/0.8567, allocations: 286.5 kB / 1.18 GB, free: 14.74 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.000819/0.8575, allocations: 0.7549 MB / 1.18 GB, free: 13.97 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.002703/0.8603, allocations: 2.328 MB / 1.183 GB, free: 11.64 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 6.532e-06/0.8603, allocations: 0 / 1.183 GB, free: 11.64 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.164e-06/0.8603, allocations: 0 / 1.183 GB, free: 11.64 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.43e-05/0.8603, allocations: 4 kB / 1.183 GB, free: 11.63 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: 392 * Number of variables: 392 Notification: Performance of Generate backend data structure: time 0.003889/0.8642, allocations: 1.719 MB / 1.184 GB, free: 9.855 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.558e-05/0.8643, allocations: 11.98 kB / 1.184 GB, free: 9.844 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001071/0.8654, allocations: 274.5 kB / 1.185 GB, free: 9.574 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001462/0.8668, allocations: 0.9693 MB / 1.186 GB, free: 8.562 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001086/0.867, allocations: 111.1 kB / 1.186 GB, free: 8.453 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000213/0.8672, allocations: 148 kB / 1.186 GB, free: 8.309 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002908/0.8701, allocations: 1.596 MB / 1.187 GB, free: 6.656 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.739e-05/0.8701, allocations: 0 / 1.187 GB, free: 6.656 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001535/0.8703, allocations: 64 kB / 1.188 GB, free: 6.594 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.415e-05/0.8703, allocations: 36 kB / 1.188 GB, free: 6.559 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00294/0.8733, allocations: 1.643 MB / 1.189 GB, free: 4.91 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.007493/0.8808, allocations: 4.633 MB / 1.194 GB, free: 100 kB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002269/0.8831, allocations: 1.196 MB / 1.195 GB, free: 14.89 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008846/0.884, allocations: 479.7 kB / 1.195 GB, free: 14.42 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001069/0.8841, allocations: 48.98 kB / 1.195 GB, free: 14.37 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001427/0.8855, allocations: 0.7783 MB / 1.196 GB, free: 13.57 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=128): time 2.404e-06/0.8855, allocations: 0 / 1.196 GB, free: 13.57 MB / 0.9512 GB Notification: Performance of matching and sorting (n=128): time 0.004579/0.8901, allocations: 1.861 MB / 1.198 GB, free: 11.68 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001298/0.8903, allocations: 197.2 kB / 1.198 GB, free: 11.45 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001237/0.8915, allocations: 0.8692 MB / 1.199 GB, free: 10.55 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.0001045/0.8916, allocations: 57.64 kB / 1.199 GB, free: 10.49 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005339/0.8922, allocations: 0.6014 MB / 1.2 GB, free: 9.879 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.000394/0.8926, allocations: 414.1 kB / 1.2 GB, free: 9.469 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001672/0.8928, allocations: 105.7 kB / 1.2 GB, free: 9.359 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001746/0.8929, allocations: 353.9 kB / 1.2 GB, free: 9.008 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009307/0.8939, allocations: 454.4 kB / 1.201 GB, free: 8.562 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001046/0.8949, allocations: 0.5688 MB / 1.201 GB, free: 7.98 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001922/0.8969, allocations: 0.9935 MB / 1.202 GB, free: 6.977 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/0.8969, allocations: 4 kB / 1.202 GB, free: 6.973 MB / 0.9512 GB Notification: Performance of matching and sorting (n=159) (initialization): time 0.003056/0.8999, allocations: 1.348 MB / 1.204 GB, free: 5.613 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.562e-05/0.9, allocations: 7.984 kB / 1.204 GB, free: 5.605 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.343e-05/0.9, allocations: 7.938 kB / 1.204 GB, free: 5.598 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006431/0.9006, allocations: 80.84 kB / 1.204 GB, free: 5.516 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001162/0.9018, allocations: 267.6 kB / 1.204 GB, free: 5.254 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002292/0.9041, allocations: 1.549 MB / 1.206 GB, free: 3.566 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001309/0.9054, allocations: 175.3 kB / 1.206 GB, free: 3.395 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001139/0.9056, allocations: 60.05 kB / 1.206 GB, free: 3.336 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: 32 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,incAngEas.decAng.tNext,$PRE.incAngEas.decAng.tNext,incAngSou.decAng.tNext,$PRE.incAngSou.decAng.tNext,incAngWes.decAng.tNext,$PRE.incAngWes.decAng.tNext,incAngNor.decAng.tNext,$PRE.incAngNor.decAng.tNext,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,incAngHor.decAng.tNext,$PRE.incAngHor.decAng.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition10) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (157): * Single equations (assignments): 156 * 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.0007858/0.9064, allocations: 357.4 kB / 1.206 GB, free: 2.977 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002145/0.9066, allocations: 122.6 kB / 1.206 GB, free: 2.855 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003987/0.9106, allocations: 1.721 MB / 1.208 GB, free: 1.121 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.526e-05/0.9106, allocations: 12 kB / 1.208 GB, free: 1.109 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.9106, allocations: 0 / 1.208 GB, free: 1.109 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.608e-05/0.9106, allocations: 7.969 kB / 1.208 GB, free: 1.102 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001963/0.9126, allocations: 1.404 MB / 1.209 GB, free: 15.65 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.299e-06/0.9126, allocations: 0 / 1.209 GB, free: 15.65 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009386/0.9136, allocations: 215.7 kB / 1.21 GB, free: 15.44 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000548/0.9141, allocations: 92.7 kB / 1.21 GB, free: 15.34 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.751e-05/0.9142, allocations: 35.97 kB / 1.21 GB, free: 15.31 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002076/0.9163, allocations: 1.559 MB / 1.211 GB, free: 13.61 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.497e-06/0.9163, allocations: 3.984 kB / 1.211 GB, free: 13.61 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003044/0.9194, allocations: 1.418 MB / 1.213 GB, free: 12.17 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006799/0.9201, allocations: 406.8 kB / 1.213 GB, free: 11.75 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001908/0.9203, allocations: 28.14 kB / 1.213 GB, free: 11.72 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001061/0.9213, allocations: 126.3 kB / 1.213 GB, free: 11.6 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002529/0.9216, allocations: 113.1 kB / 1.213 GB, free: 11.49 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001206/0.9217, allocations: 55.95 kB / 1.213 GB, free: 11.44 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.00106/0.9228, allocations: 0.6425 MB / 1.214 GB, free: 10.79 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9228, allocations: 4 kB / 1.214 GB, free: 10.78 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.001308/0.9241, allocations: 486.6 kB / 1.214 GB, free: 10.3 MB / 0.9669 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,incAngHor.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,incAngNor.decAng.tNext,incAngWes.decAng.tNext,incAngSou.decAng.tNext,incAngEas.decAng.tNext) * Number of discrete states: 10 (incAngHor.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,incAngNor.decAng.tNext,incAngWes.decAng.tNext,incAngSou.decAng.tNext,incAngEas.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (144): * Single equations (assignments): 133 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.001977/0.9261, allocations: 0.6299 MB / 1.215 GB, free: 9.852 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.002645/0.9288, allocations: 1.283 MB / 1.216 GB, free: 8.555 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/0.9288, allocations: 0 / 1.216 GB, free: 8.555 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.001418/0.9302, allocations: 0.7441 MB / 1.217 GB, free: 7.801 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001654/0.9319, allocations: 318.6 kB / 1.217 GB, free: 7.492 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005404/0.9373, allocations: 3.295 MB / 1.22 GB, free: 4.164 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009832/0.9383, allocations: 1.235 MB / 1.222 GB, free: 2.902 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.001327/0.9396, allocations: 334.1 kB / 1.222 GB, free: 2.574 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004607/0.9401, allocations: 155.3 kB / 1.222 GB, free: 2.422 MB / 0.9669 GB Notification: Performance of SimCode: time 8.32e-07/0.9401, allocations: 0 / 1.222 GB, free: 2.422 MB / 0.9669 GB Notification: Performance of Templates: time 0.04271/0.9828, allocations: 20.53 MB / 1.242 GB, free: 14.08 MB / 0.9981 GB make -j1 -f Buildings_10_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.makefile (rm -f Buildings_10_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.sim & ./Buildings_10_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches