Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.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.WallSolarAzimuth,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|walSolAzi.verAzi",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth") translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|walSolAzi.verAzi",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00152/0.00152, allocations: 104 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.001645/0.001645, allocations: 195.8 kB / 17.31 MB, free: 5.82 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.33/1.33, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.457/2.457, allocations: 442.6 MB / 0.7165 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001725/0.001726, allocations: 60 kB / 0.8773 GB, free: 11.02 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3155/0.3173, allocations: 153 MB / 1.027 GB, free: 2.082 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth): time 0.007874/0.3252, allocations: 5.374 MB / 1.032 GB, free: 12.69 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.6952/1.02, allocations: 150.8 MB / 1.179 GB, free: 6.309 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00113/1.022, allocations: 20.09 kB / 1.179 GB, free: 6.301 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0006788/1.022, allocations: 207.1 kB / 1.179 GB, free: 6.168 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.002064/1.024, allocations: 0.603 MB / 1.18 GB, free: 5.816 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.002098/1.027, allocations: 0.8904 MB / 1.181 GB, free: 5.234 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0022/1.029, allocations: 1.569 MB / 1.182 GB, free: 4.258 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009699/1.03, allocations: 0.6664 MB / 1.183 GB, free: 3.863 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008298/1.031, allocations: 0.5612 MB / 1.184 GB, free: 3.523 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006886/1.031, allocations: 0.591 MB / 1.184 GB, free: 3.102 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0001877/1.031, allocations: 135.4 kB / 1.184 GB, free: 3.102 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000971/1.032, allocations: 0.517 MB / 1.185 GB, free: 2.914 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0002921/1.033, allocations: 342.5 kB / 1.185 GB, free: 2.645 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.000588/1.033, allocations: 0.654 MB / 1.186 GB, free: 2.164 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.001982/1.035, allocations: 1.855 MB / 1.188 GB, free: 0.8281 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/1.035, allocations: 0 / 1.188 GB, free: 0.8281 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.553e-06/1.035, allocations: 0 / 1.188 GB, free: 0.8281 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 2.451e-05/1.035, allocations: 0 / 1.188 GB, free: 0.8281 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: 255 * Number of variables: 255 Notification: Performance of Generate backend data structure: time 0.002944/1.038, allocations: 1.572 MB / 1.189 GB, free: 15.6 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.607e-05/1.038, allocations: 12.53 kB / 1.189 GB, free: 15.59 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009668/1.039, allocations: 207.3 kB / 1.189 GB, free: 15.49 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001327/1.041, allocations: 0.8129 MB / 1.19 GB, free: 14.83 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.16e-05/1.041, allocations: 77.58 kB / 1.19 GB, free: 14.79 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001264/1.041, allocations: 99.33 kB / 1.19 GB, free: 14.76 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001795/1.043, allocations: 1.069 MB / 1.191 GB, free: 14.05 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.058e-05/1.043, allocations: 1.188 kB / 1.191 GB, free: 14.05 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.054e-05/1.043, allocations: 45.28 kB / 1.191 GB, free: 14.02 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.981e-05/1.043, allocations: 24.5 kB / 1.191 GB, free: 14.02 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002751/1.046, allocations: 1.221 MB / 1.193 GB, free: 13.44 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.007772/1.053, allocations: 3.146 MB / 1.196 GB, free: 10.93 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002571/1.056, allocations: 0.8928 MB / 1.197 GB, free: 10.47 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009398/1.057, allocations: 343.5 kB / 1.197 GB, free: 10.3 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001309/1.057, allocations: 40.73 kB / 1.197 GB, free: 10.28 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001434/1.059, allocations: 0.5487 MB / 1.197 GB, free: 9.926 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=92): time 3.977e-06/1.059, allocations: 0 / 1.197 GB, free: 9.926 MB / 0.9044 GB Notification: Performance of matching and sorting (n=92): time 0.005231/1.064, allocations: 1.343 MB / 1.199 GB, free: 9.207 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001629/1.064, allocations: 195.7 kB / 1.199 GB, free: 8.98 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00144/1.065, allocations: 0.6817 MB / 1.2 GB, free: 8.59 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.0001368/1.066, allocations: 42.11 kB / 1.2 GB, free: 8.547 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005596/1.066, allocations: 444.3 kB / 1.2 GB, free: 8.16 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003956/1.067, allocations: 300.8 kB / 1.2 GB, free: 7.898 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004426/1.067, allocations: 180.5 kB / 1.201 GB, free: 7.793 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0002679/1.067, allocations: 395.4 kB / 1.201 GB, free: 7.418 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000928/1.068, allocations: 304.7 kB / 1.201 GB, free: 7.27 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001082/1.069, allocations: 412.8 kB / 1.202 GB, free: 7.027 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001865/1.071, allocations: 0.6889 MB / 1.202 GB, free: 6.66 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.885e-06/1.071, allocations: 7.688 kB / 1.202 GB, free: 6.656 MB / 0.9044 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.003537/1.075, allocations: 0.9589 MB / 1.203 GB, free: 6.168 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.589e-05/1.075, allocations: 5.188 kB / 1.203 GB, free: 6.168 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.064e-05/1.075, allocations: 2.562 kB / 1.203 GB, free: 6.168 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000836/1.076, allocations: 77.91 kB / 1.203 GB, free: 6.133 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001178/1.077, allocations: 188.6 kB / 1.203 GB, free: 6.082 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00317/1.08, allocations: 1.631 MB / 1.205 GB, free: 4.484 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001475/1.082, allocations: 108.4 kB / 1.205 GB, free: 4.414 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001312/1.082, allocations: 44.75 kB / 1.205 GB, free: 4.395 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,incAng.decAng.tNext,$PRE.incAng.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 (109): * Single equations (assignments): 108 * 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.000774/1.083, allocations: 286.2 kB / 1.205 GB, free: 4.176 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002835/1.083, allocations: 90.12 kB / 1.206 GB, free: 4.129 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003962/1.087, allocations: 1.226 MB / 1.207 GB, free: 3.441 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.36e-05/1.087, allocations: 10.66 kB / 1.207 GB, free: 3.441 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/1.087, allocations: 4 kB / 1.207 GB, free: 3.438 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.555e-05/1.087, allocations: 5.984 kB / 1.207 GB, free: 3.434 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001965/1.089, allocations: 1.008 MB / 1.208 GB, free: 2.676 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.064e-06/1.089, allocations: 2.562 kB / 1.208 GB, free: 2.676 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001078/1.09, allocations: 168.1 kB / 1.208 GB, free: 2.637 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006549/1.091, allocations: 74.16 kB / 1.208 GB, free: 2.598 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001085/1.091, allocations: 31.94 kB / 1.208 GB, free: 2.574 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002785/1.094, allocations: 1.651 MB / 1.21 GB, free: 0.9609 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.401e-06/1.094, allocations: 3.938 kB / 1.21 GB, free: 0.957 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002997/1.097, allocations: 1.042 MB / 1.211 GB, free: 212 kB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006576/1.097, allocations: 299.5 kB / 1.211 GB, free: 15.89 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001585/1.097, allocations: 24 kB / 1.211 GB, free: 15.87 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006922/1.098, allocations: 71.92 kB / 1.211 GB, free: 15.8 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002004/1.098, allocations: 80.88 kB / 1.211 GB, free: 15.72 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.812e-05/1.098, allocations: 39.98 kB / 1.211 GB, free: 15.68 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0007006/1.099, allocations: 0.4911 MB / 1.212 GB, free: 15.2 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.61e-07/1.099, allocations: 0 / 1.212 GB, free: 15.2 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.001075/1.1, allocations: 379.1 kB / 1.212 GB, free: 14.83 MB / 0.92 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,incAng.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 6 (incAng.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 (107): * Single equations (assignments): 100 * 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.002023/1.102, allocations: 0.6293 MB / 1.213 GB, free: 14.38 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.002943/1.105, allocations: 0.9336 MB / 1.214 GB, free: 13.43 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 4.719e-06/1.105, allocations: 0 / 1.214 GB, free: 13.43 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.001594/1.107, allocations: 0.5707 MB / 1.214 GB, free: 12.85 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001959/1.109, allocations: 312.5 kB / 1.214 GB, free: 12.57 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004922/1.114, allocations: 1.858 MB / 1.216 GB, free: 10.68 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009615/1.115, allocations: 1.071 MB / 1.217 GB, free: 9.582 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.001436/1.116, allocations: 291.3 kB / 1.218 GB, free: 9.293 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000459/1.117, allocations: 119.4 kB / 1.218 GB, free: 9.176 MB / 0.92 GB Notification: Performance of SimCode: time 9.91e-07/1.117, allocations: 4 kB / 1.218 GB, free: 9.172 MB / 0.92 GB Notification: Performance of Templates: time 0.0424/1.159, allocations: 16.9 MB / 1.234 GB, free: 8.469 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.sim & ./Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_WallSolarAzimuth.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches