Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.000943/0.000943, allocations: 80.94 kB / 19.94 MB, free: 4.547 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009191/0.0009191, allocations: 173.4 kB / 23.36 MB, free: 1.133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9269/0.9269, allocations: 177.1 MB / 203.8 MB, free: 5.496 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.362/2.362, allocations: 438.8 MB / 0.6826 GB, free: 13.53 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5001,variableFilter="time|solTim.solTim|solTim.locTim",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5001,variableFilter="time|solTim.solTim|solTim.locTim",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.192e-06/1.192e-06, allocations: 0 / 0.8386 GB, free: 14.15 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.943e-05/2.062e-05, allocations: 8.359 kB / 0.8386 GB, free: 14.14 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime): time 0.0021/0.002121, allocations: 1.65 MB / 0.8402 GB, free: 12.48 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.0007203/0.002841, allocations: 0.5919 MB / 0.8408 GB, free: 11.88 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.201e-05/0.002883, allocations: 4 kB / 0.8408 GB, free: 11.88 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 2.787e-05/0.002911, allocations: 7.922 kB / 0.8408 GB, free: 11.87 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0002058/0.003117, allocations: 39.66 kB / 0.8408 GB, free: 11.83 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001215/0.003238, allocations: 43.88 kB / 0.8409 GB, free: 11.79 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 9.907e-05/0.003337, allocations: 123.5 kB / 0.841 GB, free: 11.67 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 8.226e-05/0.00342, allocations: 28.14 kB / 0.841 GB, free: 11.64 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001448/0.003564, allocations: 79.81 kB / 0.8411 GB, free: 11.56 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 8.307e-05/0.003648, allocations: 47.86 kB / 0.8411 GB, free: 11.51 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.783e-05/0.003665, allocations: 8 kB / 0.8411 GB, free: 11.5 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 4.45e-05/0.00371, allocations: 20 kB / 0.8412 GB, free: 11.48 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 2.249e-05/0.003732, allocations: 23.89 kB / 0.8412 GB, free: 11.46 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 3.568e-05/0.003768, allocations: 35.97 kB / 0.8412 GB, free: 11.43 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0001119/0.00388, allocations: 87.59 kB / 0.8413 GB, free: 11.34 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 2.304e-06/0.003882, allocations: 3.984 kB / 0.8413 GB, free: 11.34 MB / 0.8073 GB Notification: Performance of FrontEnd: time 5.31e-07/0.003883, allocations: 0 / 0.8413 GB, free: 11.34 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.166e-06/0.003886, allocations: 0 / 0.8413 GB, free: 11.34 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0003929/0.004279, allocations: 324.5 kB / 0.8416 GB, free: 11 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 2.839e-05/0.004307, allocations: 8.031 kB / 0.8416 GB, free: 10.99 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001113/0.004419, allocations: 20.92 kB / 0.8416 GB, free: 10.97 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.171e-05/0.0045, allocations: 121.6 kB / 0.8418 GB, free: 10.82 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.442e-05/0.004515, allocations: 12.36 kB / 0.8418 GB, free: 10.81 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.376e-05/0.004529, allocations: 4.375 kB / 0.8418 GB, free: 10.81 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001013/0.00463, allocations: 86.81 kB / 0.8419 GB, free: 10.71 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.464e-06/0.004637, allocations: 4.188 kB / 0.8419 GB, free: 10.71 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.464e-06/0.004645, allocations: 384 / 0.8419 GB, free: 10.71 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/0.004651, allocations: 7.938 kB / 0.8419 GB, free: 10.7 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.092e-05/0.004692, allocations: 31.95 kB / 0.8419 GB, free: 10.67 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003188/0.005011, allocations: 220.1 kB / 0.8421 GB, free: 10.44 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001447/0.005156, allocations: 74.53 kB / 0.8422 GB, free: 10.36 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.049e-05/0.005186, allocations: 32.84 kB / 0.8422 GB, free: 10.32 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.084e-05/0.005197, allocations: 0 / 0.8422 GB, free: 10.32 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001025/0.005299, allocations: 103.2 kB / 0.8423 GB, free: 10.21 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=14): time 1.182e-06/0.005301, allocations: 0 / 0.8423 GB, free: 10.21 MB / 0.8073 GB Notification: Performance of matching and sorting (n=14): time 0.0001315/0.005432, allocations: 93.59 kB / 0.8424 GB, free: 10.11 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.707e-05/0.005469, allocations: 55.41 kB / 0.8425 GB, free: 10.05 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.947e-05/0.005529, allocations: 126.7 kB / 0.8426 GB, free: 9.91 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.355e-05/0.005542, allocations: 25.7 kB / 0.8426 GB, free: 9.879 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.881e-05/0.005571, allocations: 96.06 kB / 0.8427 GB, free: 9.781 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 3.523e-05/0.005606, allocations: 47.56 kB / 0.8427 GB, free: 9.734 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.486e-05/0.005641, allocations: 33.69 kB / 0.8428 GB, free: 9.695 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 6.913e-05/0.00571, allocations: 322.8 kB / 0.8431 GB, free: 9.371 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.339e-05/0.005734, allocations: 19.98 kB / 0.8431 GB, free: 9.352 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.074e-05/0.005754, allocations: 18.03 kB / 0.8431 GB, free: 9.336 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.66e-05/0.005811, allocations: 56.86 kB / 0.8432 GB, free: 9.277 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.492e-06/0.005812, allocations: 0 / 0.8432 GB, free: 9.277 MB / 0.8073 GB Notification: Performance of matching and sorting (n=18) (initialization): time 8.714e-05/0.0059, allocations: 88.09 kB / 0.8432 GB, free: 9.188 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 9.859e-06/0.005909, allocations: 4 kB / 0.8433 GB, free: 9.184 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.847e-06/0.005913, allocations: 0 / 0.8433 GB, free: 9.184 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.224e-05/0.005926, allocations: 4 kB / 0.8433 GB, free: 9.18 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.749e-05/0.006003, allocations: 27.92 kB / 0.8433 GB, free: 9.152 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.717e-06/0.006007, allocations: 3.984 kB / 0.8433 GB, free: 9.148 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.214e-05/0.006049, allocations: 8 kB / 0.8433 GB, free: 9.141 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.146e-06/0.006057, allocations: 4 kB / 0.8433 GB, free: 9.137 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 (eqnTim.k,$PRE.eqnTim.k,eqnTim.tNext,$PRE.eqnTim.tNext,locTim.k,$PRE.locTim.k,locTim.tNext,$PRE.locTim.tNext,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.883e-05/0.006116, allocations: 125.8 kB / 0.8434 GB, free: 9.004 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.279e-05/0.006129, allocations: 11.92 kB / 0.8434 GB, free: 8.992 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001081/0.006237, allocations: 104.3 kB / 0.8435 GB, free: 8.891 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.006238, allocations: 0 / 0.8435 GB, free: 8.891 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.865e-06/0.006241, allocations: 4 kB / 0.8435 GB, free: 8.887 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.006244, allocations: 0 / 0.8435 GB, free: 8.887 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002205/0.006465, allocations: 270.6 kB / 0.8438 GB, free: 8.598 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.006466, allocations: 0 / 0.8438 GB, free: 8.598 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.315e-05/0.006509, allocations: 27.98 kB / 0.8438 GB, free: 8.57 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.006511, allocations: 0 / 0.8438 GB, free: 8.57 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.621e-06/0.006516, allocations: 0 / 0.8438 GB, free: 8.57 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.91e-07/0.006517, allocations: 3.938 kB / 0.8438 GB, free: 8.566 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.006518, allocations: 4 kB / 0.8438 GB, free: 8.562 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000104/0.006622, allocations: 195.3 kB / 0.844 GB, free: 8.355 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.354e-05/0.006636, allocations: 15.91 kB / 0.844 GB, free: 8.34 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.686e-05/0.006653, allocations: 4 kB / 0.844 GB, free: 8.336 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.192e-05/0.006704, allocations: 8 kB / 0.844 GB, free: 8.328 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.966e-05/0.006734, allocations: 11.97 kB / 0.844 GB, free: 8.316 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.811e-06/0.00674, allocations: 4 kB / 0.8441 GB, free: 8.312 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.85e-05/0.006758, allocations: 24.84 kB / 0.8441 GB, free: 8.285 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.006759, allocations: 0 / 0.8441 GB, free: 8.285 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001322/0.006891, allocations: 27.94 kB / 0.8441 GB, free: 8.258 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,locTim.tNext,locTim.k,eqnTim.tNext,eqnTim.k) * Number of discrete states: 4 (locTim.tNext,eqnTim.tNext,eqnTim.k,locTim.k) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 7.609e-05/0.006967, allocations: 88.41 kB / 0.8442 GB, free: 8.16 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 9.262e-05/0.007059, allocations: 67.11 kB / 0.8443 GB, free: 8.094 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.007061, allocations: 0 / 0.8443 GB, free: 8.094 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 4.495e-05/0.007106, allocations: 44.77 kB / 0.8443 GB, free: 8.047 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001083/0.007214, allocations: 20.69 kB / 0.8443 GB, free: 8.027 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005313/0.007746, allocations: 226.8 kB / 0.8445 GB, free: 7.781 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.708e-05/0.007783, allocations: 67.28 kB / 0.8446 GB, free: 7.695 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 4.045e-05/0.007823, allocations: 16.95 kB / 0.8446 GB, free: 7.676 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.532e-05/0.007879, allocations: 63.38 kB / 0.8447 GB, free: 7.613 MB / 0.8073 GB Notification: Performance of SimCode: time 5.71e-07/0.007879, allocations: 8 kB / 0.8447 GB, free: 7.605 MB / 0.8073 GB Notification: Performance of Templates: time 0.002854/0.01073, allocations: 1.313 MB / 0.846 GB, free: 6.312 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.sim & ./Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.168270238209516]