Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.SolarIrradiation.Examples.DirectTiltedSurface,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|HDirRoo.H|HDirWal.H|HDirFlo.H",fileNamePrefix="Buildings_10_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_10_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.001171/0.001171, allocations: 108.7 kB / 16.41 MB, free: 6.496 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.001208/0.001209, allocations: 189.6 kB / 17.34 MB, free: 5.762 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.326/1.326, 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 10.1.1-maint.10.0.x/package.mo): time 2.376/2.376, allocations: 437 MB / 0.7112 GB, free: 4.371 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001389/0.001389, allocations: 63.84 kB / 1.019 GB, free: 9.449 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8237/0.8251, allocations: 151.6 MB / 1.167 GB, free: 4.008 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface): time 0.009388/0.8346, allocations: 7.073 MB / 1.174 GB, free: 12.9 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.1586/0.9932, allocations: 151.2 MB / 1.322 GB, free: 5.145 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001279/0.9945, allocations: 23.88 kB / 1.322 GB, free: 5.121 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.001076/0.9956, allocations: 265.4 kB / 1.322 GB, free: 4.859 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.00301/0.9987, allocations: 0.7816 MB / 1.323 GB, free: 4.078 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.002652/1.001, allocations: 1.02 MB / 1.324 GB, free: 3.066 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.002656/1.004, allocations: 2.093 MB / 1.326 GB, free: 0.9648 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001829/1.006, allocations: 1.111 MB / 1.327 GB, free: 15.8 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001366/1.007, allocations: 0.8293 MB / 1.328 GB, free: 14.97 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001302/1.009, allocations: 0.8831 MB / 1.329 GB, free: 14.08 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0004778/1.009, allocations: 216 kB / 1.329 GB, free: 13.87 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001327/1.01, allocations: 0.5738 MB / 1.329 GB, free: 13.3 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0006038/1.011, allocations: 498.5 kB / 1.33 GB, free: 12.81 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.001425/1.012, allocations: 0.9681 MB / 1.331 GB, free: 11.84 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.003549/1.016, allocations: 2.671 MB / 1.333 GB, free: 9.156 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/1.016, allocations: 3.938 kB / 1.333 GB, free: 9.152 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.205e-06/1.016, allocations: 0 / 1.333 GB, free: 9.152 MB / 1.061 GB Notification: Performance of Transformations before backend: time 8.569e-05/1.016, allocations: 0 / 1.333 GB, free: 9.152 MB / 1.061 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.004745/1.021, allocations: 2.041 MB / 1.335 GB, free: 7.055 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.059e-05/1.021, allocations: 12.92 kB / 1.335 GB, free: 7.043 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001231/1.022, allocations: 254.6 kB / 1.336 GB, free: 6.793 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001905/1.024, allocations: 0.9929 MB / 1.337 GB, free: 5.754 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001521/1.024, allocations: 148.8 kB / 1.337 GB, free: 5.602 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002692/1.025, allocations: 151.9 kB / 1.337 GB, free: 5.453 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003097/1.028, allocations: 1.593 MB / 1.338 GB, free: 3.805 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.457e-05/1.028, allocations: 7.938 kB / 1.338 GB, free: 3.797 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000159/1.028, allocations: 64 kB / 1.339 GB, free: 3.734 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.34e-05/1.028, allocations: 39.98 kB / 1.339 GB, free: 3.695 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002773/1.031, allocations: 1.592 MB / 1.34 GB, free: 2.098 MB / 1.061 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.008026/1.039, allocations: 4.673 MB / 1.345 GB, free: 13.23 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002024/1.041, allocations: 1.098 MB / 1.346 GB, free: 12.14 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007497/1.042, allocations: 427.7 kB / 1.346 GB, free: 11.71 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000101/1.042, allocations: 45 kB / 1.346 GB, free: 11.67 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001221/1.043, allocations: 0.7075 MB / 1.347 GB, free: 10.95 MB / 1.076 GB Notification: Performance of pre-optimization done (n=111): time 4.618e-06/1.043, allocations: 3.938 kB / 1.347 GB, free: 10.94 MB / 1.076 GB Notification: Performance of matching and sorting (n=111): time 0.004089/1.047, allocations: 1.649 MB / 1.349 GB, free: 9.262 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000116/1.047, allocations: 196.9 kB / 1.349 GB, free: 9.027 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00133/1.049, allocations: 0.8454 MB / 1.35 GB, free: 8.176 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.0001123/1.049, allocations: 49.7 kB / 1.35 GB, free: 8.121 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005484/1.049, allocations: 0.6167 MB / 1.35 GB, free: 7.496 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003374/1.05, allocations: 362.8 kB / 1.351 GB, free: 7.137 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003714/1.05, allocations: 226.7 kB / 1.351 GB, free: 6.91 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.000127/1.05, allocations: 349.9 kB / 1.351 GB, free: 6.562 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007596/1.051, allocations: 402.4 kB / 1.351 GB, free: 6.168 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008763/1.052, allocations: 0.5033 MB / 1.352 GB, free: 5.648 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001573/1.053, allocations: 0.8916 MB / 1.353 GB, free: 4.742 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.48e-06/1.053, allocations: 0 / 1.353 GB, free: 4.742 MB / 1.076 GB Notification: Performance of matching and sorting (n=137) (initialization): time 0.002666/1.056, allocations: 1.207 MB / 1.354 GB, free: 3.523 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.268e-05/1.056, allocations: 8 kB / 1.354 GB, free: 3.516 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.698e-06/1.056, allocations: 4.125 kB / 1.354 GB, free: 3.512 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006147/1.057, allocations: 80.77 kB / 1.354 GB, free: 3.43 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009767/1.058, allocations: 239.6 kB / 1.354 GB, free: 3.195 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002186/1.06, allocations: 1.655 MB / 1.356 GB, free: 1.402 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001068/1.061, allocations: 134.9 kB / 1.356 GB, free: 1.27 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001144/1.061, allocations: 47.97 kB / 1.356 GB, free: 1.223 MB / 1.076 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.000655/1.062, allocations: 348.2 kB / 1.356 GB, free: 0.8711 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003021/1.062, allocations: 114.6 kB / 1.357 GB, free: 0.7578 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003308/1.065, allocations: 1.532 MB / 1.358 GB, free: 15.21 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.315e-05/1.065, allocations: 12 kB / 1.358 GB, free: 15.2 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.409e-06/1.065, allocations: 0 / 1.358 GB, free: 15.2 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.387e-05/1.065, allocations: 7.969 kB / 1.358 GB, free: 15.19 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00209/1.067, allocations: 1.376 MB / 1.359 GB, free: 13.77 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.2e-05/1.068, allocations: 0 / 1.359 GB, free: 13.77 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008489/1.068, allocations: 199.7 kB / 1.36 GB, free: 13.57 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004955/1.069, allocations: 72.8 kB / 1.36 GB, free: 13.5 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001169/1.069, allocations: 35.97 kB / 1.36 GB, free: 13.46 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002095/1.071, allocations: 1.678 MB / 1.361 GB, free: 11.63 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/1.071, allocations: 0 / 1.361 GB, free: 11.63 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002888/1.074, allocations: 1.281 MB / 1.363 GB, free: 10.32 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007608/1.075, allocations: 363.2 kB / 1.363 GB, free: 9.949 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002727/1.075, allocations: 31.94 kB / 1.363 GB, free: 9.918 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00102/1.076, allocations: 83.91 kB / 1.363 GB, free: 9.836 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002197/1.076, allocations: 97.11 kB / 1.363 GB, free: 9.742 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001123/1.076, allocations: 51.97 kB / 1.363 GB, free: 9.691 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.001041/1.078, allocations: 0.6174 MB / 1.364 GB, free: 9.062 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.8e-07/1.078, allocations: 0 / 1.364 GB, free: 9.062 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.001448/1.079, allocations: 482.5 kB / 1.364 GB, free: 8.59 MB / 1.092 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.001599/1.081, allocations: 0.61 MB / 1.365 GB, free: 8.141 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.002448/1.083, allocations: 1.15 MB / 1.366 GB, free: 6.98 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 7.174e-06/1.083, allocations: 8.062 kB / 1.366 GB, free: 6.973 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.001254/1.084, allocations: 0.6776 MB / 1.367 GB, free: 6.281 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001724/1.086, allocations: 353.7 kB / 1.367 GB, free: 5.949 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004998/1.091, allocations: 2.512 MB / 1.369 GB, free: 3.398 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001041/1.092, allocations: 1.216 MB / 1.371 GB, free: 2.148 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005723/1.093, allocations: 167.3 kB / 1.371 GB, free: 1.984 MB / 1.092 GB Notification: Performance of SimCode: time 1.162e-06/1.093, allocations: 0 / 1.371 GB, free: 1.984 MB / 1.092 GB Notification: Performance of Templates: time 0.03835/1.131, allocations: 27.45 MB / 1.398 GB, free: 6.578 MB / 1.123 GB make -j1 -f Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.makefile (rm -f Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.sim & ./Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches