Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.SolarIrradiation.Examples.DirectTiltedSurface,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|HDirRoo.H|HDirWal.H|HDirFlo.H",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface") translateModel(Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|HDirRoo.H|HDirWal.H|HDirFlo.H",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001229/0.001229, allocations: 109.9 kB / 16.41 MB, free: 6.492 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.001144/0.001144, allocations: 185.5 kB / 17.34 MB, free: 5.766 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.218/1.218, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.343/2.343, allocations: 461.9 MB / 0.7355 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001179/0.001179, allocations: 63.91 kB / 1.055 GB, free: 7.75 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6395/0.6406, allocations: 157.4 MB / 1.208 GB, free: 13.81 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface): time 0.007568/0.6482, allocations: 7.05 MB / 1.215 GB, free: 6.734 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.1385/0.7867, allocations: 151.1 MB / 1.363 GB, free: 15 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001116/0.7879, allocations: 19.94 kB / 1.363 GB, free: 14.98 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.001076/0.789, allocations: 261.4 kB / 1.363 GB, free: 14.72 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.002622/0.7917, allocations: 0.7721 MB / 1.364 GB, free: 13.95 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.00233/0.794, allocations: 1.025 MB / 1.365 GB, free: 12.93 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.002582/0.7966, allocations: 2.097 MB / 1.367 GB, free: 10.83 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00139/0.798, allocations: 1.107 MB / 1.368 GB, free: 9.672 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009779/0.799, allocations: 0.8293 MB / 1.369 GB, free: 8.84 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008307/0.7998, allocations: 0.8908 MB / 1.37 GB, free: 7.945 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0002372/0.8001, allocations: 216 kB / 1.37 GB, free: 7.734 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009196/0.801, allocations: 0.57 MB / 1.37 GB, free: 7.164 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0003391/0.8014, allocations: 494.5 kB / 1.371 GB, free: 6.68 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.000698/0.8021, allocations: 0.9759 MB / 1.372 GB, free: 5.699 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.002141/0.8042, allocations: 2.679 MB / 1.375 GB, free: 3.012 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.8042, allocations: 0 / 1.375 GB, free: 3.012 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.403e-06/0.8042, allocations: 0 / 1.375 GB, free: 3.012 MB / 1.092 GB Notification: Performance of Transformations before backend: time 1.672e-05/0.8043, allocations: 0 / 1.375 GB, free: 3.012 MB / 1.092 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 398 * Number of variables: 398 Notification: Performance of Generate backend data structure: time 0.003101/0.8074, allocations: 2.037 MB / 1.376 GB, free: 0.9141 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 3.206e-05/0.8074, allocations: 12.03 kB / 1.377 GB, free: 0.9023 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009354/0.8083, allocations: 254.6 kB / 1.377 GB, free: 0.6523 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001185/0.8095, allocations: 0.9892 MB / 1.378 GB, free: 15.62 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001337/0.8097, allocations: 148.8 kB / 1.378 GB, free: 15.46 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001633/0.8099, allocations: 156 kB / 1.378 GB, free: 15.31 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002377/0.8122, allocations: 1.593 MB / 1.38 GB, free: 13.66 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.455e-05/0.8123, allocations: 0 / 1.38 GB, free: 13.66 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001263/0.8124, allocations: 64 kB / 1.38 GB, free: 13.6 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.576e-05/0.8124, allocations: 36 kB / 1.38 GB, free: 13.57 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002407/0.8149, allocations: 1.596 MB / 1.381 GB, free: 11.96 MB / 1.107 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.005816/0.8207, allocations: 4.673 MB / 1.386 GB, free: 7.105 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001758/0.8225, allocations: 1.09 MB / 1.387 GB, free: 6.016 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006712/0.8231, allocations: 435.6 kB / 1.387 GB, free: 5.582 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 8.563e-05/0.8232, allocations: 45 kB / 1.387 GB, free: 5.539 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00111/0.8243, allocations: 0.6957 MB / 1.388 GB, free: 4.828 MB / 1.107 GB Notification: Performance of pre-optimization done (n=111): time 2.815e-06/0.8244, allocations: 0 / 1.388 GB, free: 4.828 MB / 1.107 GB Notification: Performance of matching and sorting (n=111): time 0.003789/0.8282, allocations: 1.661 MB / 1.39 GB, free: 3.137 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.909e-05/0.8283, allocations: 196.9 kB / 1.39 GB, free: 2.902 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009862/0.8293, allocations: 0.8415 MB / 1.391 GB, free: 2.051 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 8.26e-05/0.8293, allocations: 45.7 kB / 1.391 GB, free: 2 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004344/0.8298, allocations: 0.6167 MB / 1.391 GB, free: 1.375 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002462/0.83, allocations: 366.8 kB / 1.392 GB, free: 1.012 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003061/0.8304, allocations: 226.8 kB / 1.392 GB, free: 0.7852 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001265/0.8305, allocations: 345.9 kB / 1.392 GB, free: 452 kB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006862/0.8312, allocations: 398.4 kB / 1.393 GB, free: 52 kB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008122/0.832, allocations: 0.5188 MB / 1.393 GB, free: 15.52 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001456/0.8335, allocations: 0.8877 MB / 1.394 GB, free: 14.61 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.8335, allocations: 4 kB / 1.394 GB, free: 14.61 MB / 1.123 GB Notification: Performance of matching and sorting (n=137) (initialization): time 0.00238/0.8359, allocations: 1.207 MB / 1.395 GB, free: 13.39 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.804e-05/0.8359, allocations: 8.125 kB / 1.395 GB, free: 13.38 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.496e-06/0.8359, allocations: 4 kB / 1.395 GB, free: 13.38 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005596/0.8365, allocations: 84.77 kB / 1.395 GB, free: 13.29 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008855/0.8374, allocations: 223.7 kB / 1.395 GB, free: 13.07 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001929/0.8393, allocations: 1.657 MB / 1.397 GB, free: 11.27 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009262/0.8403, allocations: 128.8 kB / 1.397 GB, free: 11.14 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.599e-05/0.8403, allocations: 51.95 kB / 1.397 GB, free: 11.09 MB / 1.123 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 26 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,HDirWal.incAng.decAng.tNext,$PRE.HDirWal.incAng.decAng.tNext,HDirFlo.incAng.decAng.tNext,$PRE.HDirFlo.incAng.decAng.tNext,HDirRoo.incAng.decAng.tNext,$PRE.HDirRoo.incAng.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,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (135): * Single equations (assignments): 134 * 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.0005934/0.8409, allocations: 360.4 kB / 1.398 GB, free: 10.73 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000191/0.8411, allocations: 110.6 kB / 1.398 GB, free: 10.62 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002979/0.8441, allocations: 1.532 MB / 1.399 GB, free: 9.074 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.031e-05/0.8442, allocations: 12 kB / 1.399 GB, free: 9.062 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.915e-06/0.8442, allocations: 0 / 1.399 GB, free: 9.062 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.411e-05/0.8442, allocations: 11.95 kB / 1.399 GB, free: 9.051 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001409/0.8456, allocations: 1.372 MB / 1.4 GB, free: 7.629 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.927e-06/0.8456, allocations: 0 / 1.4 GB, free: 7.629 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007731/0.8464, allocations: 195.7 kB / 1.401 GB, free: 7.438 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004202/0.8468, allocations: 76.78 kB / 1.401 GB, free: 7.359 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.932e-05/0.8469, allocations: 31.97 kB / 1.401 GB, free: 7.328 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00173/0.8486, allocations: 1.67 MB / 1.402 GB, free: 5.516 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.8486, allocations: 32 / 1.402 GB, free: 5.516 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002356/0.851, allocations: 1.281 MB / 1.404 GB, free: 4.207 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004424/0.8515, allocations: 367.2 kB / 1.404 GB, free: 3.828 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001626/0.8516, allocations: 32 kB / 1.404 GB, free: 3.797 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008359/0.8525, allocations: 83.84 kB / 1.404 GB, free: 3.715 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001887/0.8527, allocations: 97.17 kB / 1.404 GB, free: 3.621 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.015e-05/0.8528, allocations: 55.91 kB / 1.404 GB, free: 3.566 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0007561/0.8535, allocations: 0.6135 MB / 1.405 GB, free: 2.941 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8535, allocations: 0 / 1.405 GB, free: 2.941 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.001044/0.8546, allocations: 478.5 kB / 1.405 GB, free: 2.473 MB / 1.123 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 16 ($whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,HDirRoo.incAng.decAng.tNext,HDirFlo.incAng.decAng.tNext,HDirWal.incAng.decAng.tNext) * Number of discrete states: 8 (weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,HDirRoo.incAng.decAng.tNext,HDirFlo.incAng.decAng.tNext,HDirWal.incAng.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (128): * Single equations (assignments): 119 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.001279/0.8559, allocations: 0.6263 MB / 1.406 GB, free: 2.023 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.002068/0.858, allocations: 1.15 MB / 1.407 GB, free: 0.8633 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.858, allocations: 0 / 1.407 GB, free: 0.8633 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.00108/0.8591, allocations: 0.6854 MB / 1.408 GB, free: 168 kB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001263/0.8603, allocations: 342.4 kB / 1.408 GB, free: 15.84 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003829/0.8642, allocations: 2.497 MB / 1.41 GB, free: 13.31 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006631/0.8648, allocations: 1.225 MB / 1.412 GB, free: 12.05 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004167/0.8653, allocations: 167.3 kB / 1.412 GB, free: 11.89 MB / 1.139 GB Notification: Performance of SimCode: time 3.91e-07/0.8653, allocations: 0 / 1.412 GB, free: 11.89 MB / 1.139 GB Notification: Performance of Templates: time 0.03027/0.8956, allocations: 27.44 MB / 1.439 GB, free: 0.543 MB / 1.154 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.sim & ./Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches