Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001472/0.00148, allocations: 107.9 kB / 16.37 MB, free: 6.477 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.001619/0.001619, allocations: 193.1 kB / 17.31 MB, free: 5.824 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.42/1.42, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.433/2.433, allocations: 442.6 MB / 0.7165 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001274/0.001274, allocations: 63.64 kB / 0.8773 GB, free: 10.96 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2644/0.2657, allocations: 153 MB / 1.027 GB, free: 2.039 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle): time 0.006063/0.2718, allocations: 4.982 MB / 1.032 GB, free: 13.04 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.6466/0.9184, allocations: 150.8 MB / 1.179 GB, free: 6.504 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009321/0.9194, allocations: 19.59 kB / 1.179 GB, free: 6.496 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0007956/0.9202, allocations: 193 kB / 1.179 GB, free: 6.371 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.002204/0.9225, allocations: 0.5639 MB / 1.18 GB, free: 6.051 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.002328/0.9248, allocations: 0.8503 MB / 1.18 GB, free: 5.539 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.001993/0.9268, allocations: 1.463 MB / 1.182 GB, free: 4.629 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00106/0.9279, allocations: 0.5822 MB / 1.182 GB, free: 4.281 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000864/0.9288, allocations: 0.5081 MB / 1.183 GB, free: 3.973 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009636/0.9298, allocations: 0.5291 MB / 1.183 GB, free: 3.598 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0003185/0.9301, allocations: 120 kB / 1.184 GB, free: 3.598 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001325/0.9314, allocations: 496.5 kB / 1.184 GB, free: 3.418 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0004567/0.9319, allocations: 306.9 kB / 1.184 GB, free: 3.18 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0009126/0.9328, allocations: 0.5901 MB / 1.185 GB, free: 2.742 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.002252/0.9351, allocations: 1.684 MB / 1.187 GB, free: 1.531 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.9351, allocations: 0 / 1.187 GB, free: 1.531 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.373e-06/0.9351, allocations: 0 / 1.187 GB, free: 1.531 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.67e-05/0.9352, allocations: 1.062 kB / 1.187 GB, free: 1.531 MB / 0.8887 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.003234/0.9384, allocations: 1.476 MB / 1.188 GB, free: 372 kB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.646e-05/0.9385, allocations: 10.31 kB / 1.188 GB, free: 372 kB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009615/0.9394, allocations: 193 kB / 1.188 GB, free: 276 kB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001235/0.9407, allocations: 0.7905 MB / 1.189 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.348e-05/0.9407, allocations: 65.38 kB / 1.189 GB, free: 15.59 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001142/0.9409, allocations: 80.22 kB / 1.189 GB, free: 15.57 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001563/0.9424, allocations: 0.972 MB / 1.19 GB, free: 14.94 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.738e-05/0.9425, allocations: 0 / 1.19 GB, free: 14.94 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001247/0.9426, allocations: 37.09 kB / 1.19 GB, free: 14.91 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.815e-05/0.9426, allocations: 21.59 kB / 1.19 GB, free: 14.91 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00177/0.9444, allocations: 1.157 MB / 1.191 GB, free: 14.36 MB / 0.9044 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.004366/0.9488, allocations: 2.848 MB / 1.194 GB, free: 12.09 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001451/0.9503, allocations: 0.8583 MB / 1.195 GB, free: 11.65 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005146/0.9508, allocations: 319.4 kB / 1.195 GB, free: 11.5 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 8.541e-05/0.9509, allocations: 31.38 kB / 1.195 GB, free: 11.48 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008935/0.9518, allocations: 0.535 MB / 1.196 GB, free: 11.13 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=88): time 2.385e-06/0.9518, allocations: 4 kB / 1.196 GB, free: 11.13 MB / 0.9044 GB Notification: Performance of matching and sorting (n=88): time 0.003195/0.955, allocations: 1.294 MB / 1.197 GB, free: 10.43 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.03e-05/0.9551, allocations: 194.5 kB / 1.197 GB, free: 10.21 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007454/0.9559, allocations: 0.6472 MB / 1.198 GB, free: 9.84 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 6.996e-05/0.9559, allocations: 47.11 kB / 1.198 GB, free: 9.793 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002777/0.9562, allocations: 404.9 kB / 1.198 GB, free: 9.438 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002011/0.9564, allocations: 290.2 kB / 1.198 GB, free: 9.188 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002531/0.9567, allocations: 175.4 kB / 1.199 GB, free: 9.082 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001408/0.9568, allocations: 394.5 kB / 1.199 GB, free: 8.707 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005305/0.9574, allocations: 291.7 kB / 1.199 GB, free: 8.562 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006273/0.958, allocations: 396.8 kB / 1.2 GB, free: 8.34 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001105/0.9591, allocations: 0.655 MB / 1.2 GB, free: 7.992 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.9591, allocations: 3.75 kB / 1.2 GB, free: 7.992 MB / 0.9044 GB Notification: Performance of matching and sorting (n=107) (initialization): time 0.00204/0.9612, allocations: 0.9209 MB / 1.201 GB, free: 7.52 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.73e-05/0.9612, allocations: 8.125 kB / 1.201 GB, free: 7.52 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.257e-06/0.9612, allocations: 6.531 kB / 1.201 GB, free: 7.516 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005867/0.9618, allocations: 85.77 kB / 1.201 GB, free: 7.473 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007126/0.9625, allocations: 180.1 kB / 1.202 GB, free: 7.426 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002071/0.9646, allocations: 1.626 MB / 1.203 GB, free: 5.828 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008286/0.9655, allocations: 105.1 kB / 1.203 GB, free: 5.762 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.081e-05/0.9656, allocations: 41.97 kB / 1.203 GB, free: 5.746 MB / 0.9044 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.0004409/0.966, allocations: 280.9 kB / 1.204 GB, free: 5.527 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001612/0.9662, allocations: 89.09 kB / 1.204 GB, free: 5.48 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002482/0.9687, allocations: 1.153 MB / 1.205 GB, free: 4.836 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.013e-05/0.9687, allocations: 22 kB / 1.205 GB, free: 4.824 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.875e-06/0.9687, allocations: 0 / 1.205 GB, free: 4.824 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.275e-05/0.9687, allocations: 7.984 kB / 1.205 GB, free: 4.816 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001029/0.9697, allocations: 0.9371 MB / 1.206 GB, free: 4.105 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.851e-06/0.9698, allocations: 0 / 1.206 GB, free: 4.105 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006207/0.9704, allocations: 152.4 kB / 1.206 GB, free: 4.074 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000457/0.9709, allocations: 73.84 kB / 1.206 GB, free: 4.035 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.403e-05/0.9709, allocations: 34.19 kB / 1.206 GB, free: 4.012 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001923/0.9729, allocations: 1.649 MB / 1.208 GB, free: 2.406 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.9729, allocations: 0 / 1.208 GB, free: 2.406 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002108/0.975, allocations: 0.9969 MB / 1.208 GB, free: 1.875 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004588/0.9755, allocations: 286.3 kB / 1.209 GB, free: 1.625 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001313/0.9756, allocations: 18.75 kB / 1.209 GB, free: 1.613 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000656/0.9763, allocations: 69.17 kB / 1.209 GB, free: 1.578 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001666/0.9764, allocations: 84.03 kB / 1.209 GB, free: 1.531 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.771e-05/0.9765, allocations: 40.75 kB / 1.209 GB, free: 1.516 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.000569/0.9771, allocations: 479.8 kB / 1.209 GB, free: 1.246 MB / 0.9044 GB Notification: Performance of sort global known variables: time 2.51e-07/0.9771, allocations: 1.781 kB / 1.209 GB, free: 1.246 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.000888/0.978, allocations: 341.7 kB / 1.21 GB, free: 1.121 MB / 0.9044 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.001377/0.9794, allocations: 0.5968 MB / 1.21 GB, free: 0.6992 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.00176/0.9812, allocations: 0.8946 MB / 1.211 GB, free: 15.79 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 3.367e-06/0.9812, allocations: 0 / 1.211 GB, free: 15.79 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0009283/0.9821, allocations: 0.5472 MB / 1.212 GB, free: 15.23 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001111/0.9832, allocations: 315 kB / 1.212 GB, free: 14.95 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002895/0.9861, allocations: 1.721 MB / 1.214 GB, free: 13.2 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005252/0.9867, allocations: 1.044 MB / 1.215 GB, free: 12.12 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0008017/0.9875, allocations: 267.1 kB / 1.215 GB, free: 11.86 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002761/0.9878, allocations: 115.4 kB / 1.215 GB, free: 11.74 MB / 0.92 GB Notification: Performance of SimCode: time 5.31e-07/0.9878, allocations: 0 / 1.215 GB, free: 11.74 MB / 0.92 GB Notification: Performance of Templates: time 0.02562/1.013, allocations: 15.93 MB / 1.231 GB, free: 11.97 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.sim & ./Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches