Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.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.BaseClasses.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|incAng.incAng",fileNamePrefix="Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|incAng.incAng",fileNamePrefix="Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001506/0.001506, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001776/0.001776, allocations: 197.9 kB / 16.26 MB, free: 6.625 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.397/1.397, allocations: 222.9 MB / 239.9 MB, free: 4.516 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.585/2.585, allocations: 437 MB / 0.71 GB, free: 5.289 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001341/0.001341, allocations: 63.91 kB / 0.8687 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.592/0.5933, allocations: 151.6 MB / 1.017 GB, free: 2.859 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle): time 0.006257/0.5996, allocations: 4.999 MB / 1.022 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1637/0.7634, allocations: 148.6 MB / 1.167 GB, free: 8.715 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009149/0.7643, allocations: 19.88 kB / 1.167 GB, free: 8.695 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0008343/0.7652, allocations: 150.8 kB / 1.167 GB, free: 8.547 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.002186/0.7674, allocations: 0.509 MB / 1.167 GB, free: 8.039 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.002628/0.7701, allocations: 0.7545 MB / 1.168 GB, free: 7.293 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.002674/0.7727, allocations: 1.452 MB / 1.17 GB, free: 5.836 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001301/0.7741, allocations: 0.591 MB / 1.17 GB, free: 5.227 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000896/0.775, allocations: 0.506 MB / 1.171 GB, free: 4.719 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009086/0.7759, allocations: 0.5367 MB / 1.171 GB, free: 4.18 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0004268/0.7763, allocations: 120 kB / 1.171 GB, free: 4.062 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001509/0.7778, allocations: 471.6 kB / 1.172 GB, free: 3.602 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.000541/0.7784, allocations: 307 kB / 1.172 GB, free: 3.301 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0008849/0.7793, allocations: 0.5791 MB / 1.173 GB, free: 2.719 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.002224/0.7815, allocations: 1.651 MB / 1.174 GB, free: 1.062 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.7815, allocations: 4 kB / 1.174 GB, free: 1.059 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.653e-06/0.7816, allocations: 4 kB / 1.174 GB, free: 1.055 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.427e-05/0.7816, allocations: 0 / 1.174 GB, free: 1.055 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: 223 * Number of variables: 223 Notification: Performance of Generate backend data structure: time 0.002865/0.7844, allocations: 1.472 MB / 1.176 GB, free: 15.52 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 7.595e-05/0.7845, allocations: 12.02 kB / 1.176 GB, free: 15.51 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00103/0.7856, allocations: 195.3 kB / 1.176 GB, free: 15.32 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009976/0.7866, allocations: 0.7546 MB / 1.177 GB, free: 14.52 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.087e-05/0.7866, allocations: 66 kB / 1.177 GB, free: 14.46 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001109/0.7868, allocations: 87.98 kB / 1.177 GB, free: 14.38 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001637/0.7884, allocations: 0.9691 MB / 1.178 GB, free: 13.36 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.231e-05/0.7884, allocations: 0 / 1.178 GB, free: 13.36 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001089/0.7886, allocations: 36 kB / 1.178 GB, free: 13.33 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.339e-05/0.7886, allocations: 24 kB / 1.178 GB, free: 13.3 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001824/0.7904, allocations: 1.163 MB / 1.179 GB, free: 12.14 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.004525/0.795, allocations: 2.884 MB / 1.182 GB, free: 9.137 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001569/0.7965, allocations: 0.8482 MB / 1.182 GB, free: 8.281 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005467/0.7971, allocations: 322.7 kB / 1.183 GB, free: 7.965 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 8.672e-05/0.7972, allocations: 36.67 kB / 1.183 GB, free: 7.93 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001023/0.7982, allocations: 0.5276 MB / 1.183 GB, free: 7.383 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=88): time 2.766e-06/0.7982, allocations: 4 kB / 1.183 GB, free: 7.379 MB / 0.9356 GB Notification: Performance of matching and sorting (n=88): time 0.003413/0.8017, allocations: 1.294 MB / 1.185 GB, free: 6.062 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001034/0.8018, allocations: 200.8 kB / 1.185 GB, free: 5.82 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000837/0.8026, allocations: 0.6528 MB / 1.185 GB, free: 5.16 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 7.231e-05/0.8027, allocations: 41.7 kB / 1.185 GB, free: 5.113 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.000317/0.803, allocations: 404.4 kB / 1.186 GB, free: 4.711 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002316/0.8033, allocations: 287.9 kB / 1.186 GB, free: 4.426 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002789/0.8036, allocations: 178.5 kB / 1.186 GB, free: 4.246 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001724/0.8037, allocations: 394.8 kB / 1.187 GB, free: 3.852 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005903/0.8043, allocations: 285.8 kB / 1.187 GB, free: 3.574 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000727/0.8051, allocations: 395 kB / 1.187 GB, free: 3.168 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001231/0.8063, allocations: 0.6594 MB / 1.188 GB, free: 2.5 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.438e-06/0.8063, allocations: 0 / 1.188 GB, free: 2.5 MB / 0.9356 GB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002179/0.8085, allocations: 0.923 MB / 1.189 GB, free: 1.566 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.248e-05/0.8085, allocations: 7.938 kB / 1.189 GB, free: 1.559 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.919e-06/0.8086, allocations: 3.984 kB / 1.189 GB, free: 1.555 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006373/0.8092, allocations: 76.84 kB / 1.189 GB, free: 1.477 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007788/0.81, allocations: 183.7 kB / 1.189 GB, free: 1.297 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002332/0.8123, allocations: 1.638 MB / 1.191 GB, free: 15.51 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000848/0.8132, allocations: 99.22 kB / 1.191 GB, free: 15.41 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.825e-05/0.8133, allocations: 47.84 kB / 1.191 GB, free: 15.37 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: 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 (105): * Single equations (assignments): 104 * 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.0005286/0.8138, allocations: 277.1 kB / 1.191 GB, free: 15.09 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002271/0.8141, allocations: 82.97 kB / 1.191 GB, free: 15.01 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002811/0.8169, allocations: 1.171 MB / 1.192 GB, free: 13.82 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.097e-05/0.8169, allocations: 12 kB / 1.192 GB, free: 13.8 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.8169, allocations: 0 / 1.192 GB, free: 13.8 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.261e-05/0.8169, allocations: 3.984 kB / 1.192 GB, free: 13.8 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001245/0.8182, allocations: 0.9347 MB / 1.193 GB, free: 12.82 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.04e-05/0.8182, allocations: 4 kB / 1.193 GB, free: 12.81 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006534/0.8189, allocations: 159.8 kB / 1.193 GB, free: 12.66 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004821/0.8194, allocations: 72.72 kB / 1.194 GB, free: 12.58 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.816e-05/0.8195, allocations: 35.91 kB / 1.194 GB, free: 12.55 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002012/0.8215, allocations: 1.654 MB / 1.195 GB, free: 10.75 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.8215, allocations: 3.938 kB / 1.195 GB, free: 10.74 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002225/0.8237, allocations: 0.9943 MB / 1.196 GB, free: 9.723 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004295/0.8242, allocations: 287.6 kB / 1.196 GB, free: 9.422 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001884/0.8244, allocations: 23.98 kB / 1.196 GB, free: 9.398 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007599/0.8252, allocations: 75.81 kB / 1.197 GB, free: 9.324 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001874/0.8254, allocations: 80.88 kB / 1.197 GB, free: 9.246 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.946e-05/0.8254, allocations: 31.98 kB / 1.197 GB, free: 9.215 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0006509/0.8261, allocations: 479 kB / 1.197 GB, free: 8.754 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.31e-07/0.8261, allocations: 0 / 1.197 GB, free: 8.754 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0009546/0.8271, allocations: 339.2 kB / 1.197 GB, free: 8.422 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: 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.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (100): * Single equations (assignments): 93 * 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.001603/0.8287, allocations: 0.6024 MB / 1.198 GB, free: 7.996 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.002728/0.8314, allocations: 1.108 MB / 1.199 GB, free: 6.875 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/0.8314, allocations: 0 / 1.199 GB, free: 6.875 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.001084/0.8325, allocations: 0.555 MB / 1.2 GB, free: 6.305 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001344/0.8339, allocations: 309.8 kB / 1.2 GB, free: 6.023 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003465/0.8374, allocations: 2.166 MB / 1.202 GB, free: 3.832 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000646/0.838, allocations: 1.055 MB / 1.203 GB, free: 2.75 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.000971/0.839, allocations: 275.1 kB / 1.203 GB, free: 2.477 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003175/0.8393, allocations: 111.4 kB / 1.203 GB, free: 2.367 MB / 0.9512 GB Notification: Performance of SimCode: time 3.8e-07/0.8393, allocations: 7.938 kB / 1.203 GB, free: 2.359 MB / 0.9512 GB Notification: Performance of Templates: time 0.02936/0.8687, allocations: 15.81 MB / 1.219 GB, free: 2.734 MB / 0.9669 GB make -j1 -f Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.makefile (rm -f Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.sim & ./Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches