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/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/Buildings 10.0.0-master/package.mo): time 2.359/2.359, allocations: 390.3 MB / 402.8 MB, free: 6.691 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001059/0.00106, allocations: 180.9 kB / 496.1 MB, free: 12.86 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.557/1.557, allocations: 221.3 MB / 0.7915 GB, free: 5.387 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008929/0.0008929, allocations: 91.89 kB / 0.9317 GB, free: 5.703 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.963e-05/3.976e-05, allocations: 3.984 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3477/0.3478, allocations: 143 MB / 1.219 GB, free: 13.52 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.63/5.978, allocations: 1.734 GB / 2.953 GB, free: 80.01 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000371/5.979, allocations: 83.94 kB / 2.953 GB, free: 79.93 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 1.121/7.1, allocations: 84.08 MB / 3.035 GB, free: 397.8 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.404e-06/7.1, allocations: 0.875 kB / 3.035 GB, free: 397.8 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001187/7.1, allocations: 31.84 kB / 3.035 GB, free: 397.8 MB / 1.167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 316 * Number of variables: 316 Notification: Performance of Generate backend data structure: time 0.002942/7.103, allocations: 1.324 MB / 3.036 GB, free: 397.2 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 6.51e-05/7.103, allocations: 9.469 kB / 3.036 GB, free: 397.2 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001177/7.104, allocations: 224.2 kB / 3.036 GB, free: 397.1 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001541/7.106, allocations: 0.7505 MB / 3.037 GB, free: 396.8 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001792/7.106, allocations: 122.6 kB / 3.037 GB, free: 396.8 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002095/7.106, allocations: 119.3 kB / 3.037 GB, free: 396.8 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00315/7.109, allocations: 1.222 MB / 3.039 GB, free: 396.6 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.808e-05/7.11, allocations: 2.969 kB / 3.039 GB, free: 396.6 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00013/7.11, allocations: 57.03 kB / 3.039 GB, free: 396.6 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.346e-05/7.11, allocations: 32.61 kB / 3.039 GB, free: 396.6 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002962/7.113, allocations: 1.337 MB / 3.04 GB, free: 396.6 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008022/7.121, allocations: 3.559 MB / 3.043 GB, free: 395.8 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001768/7.123, allocations: 0.8656 MB / 3.044 GB, free: 395.7 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006829/7.123, allocations: 353 kB / 3.045 GB, free: 395.7 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001342/7.123, allocations: 39.39 kB / 3.045 GB, free: 395.7 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001103/7.124, allocations: 0.5224 MB / 3.045 GB, free: 395.6 MB / 1.167 GB Notification: Performance of pre-optimization done (n=93): time 4.158e-06/7.124, allocations: 0 / 3.045 GB, free: 395.6 MB / 1.167 GB Notification: Performance of matching and sorting (n=93): time 0.00254/7.127, allocations: 0.8849 MB / 3.046 GB, free: 395.5 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001109/7.127, allocations: 243.4 kB / 3.046 GB, free: 395.3 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001267/7.128, allocations: 0.7019 MB / 3.047 GB, free: 395.1 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 7.651e-05/7.129, allocations: 46.31 kB / 3.047 GB, free: 395.1 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004574/7.129, allocations: 0.5025 MB / 3.048 GB, free: 394.9 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003013/7.129, allocations: 311.6 kB / 3.048 GB, free: 394.7 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.609e-05/7.129, allocations: 15.34 kB / 3.048 GB, free: 394.7 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001198/7.129, allocations: 339.2 kB / 3.048 GB, free: 394.4 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005661/7.13, allocations: 286.1 kB / 3.048 GB, free: 394.4 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007477/7.131, allocations: 417.4 kB / 3.049 GB, free: 394.3 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007432/7.132, allocations: 349.4 kB / 3.049 GB, free: 394.2 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.347e-06/7.132, allocations: 0 / 3.049 GB, free: 394.2 MB / 1.167 GB Notification: Performance of matching and sorting (n=104) (initialization): time 0.002418/7.134, allocations: 0.93 MB / 3.05 GB, free: 394.1 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.805e-05/7.134, allocations: 6.062 kB / 3.05 GB, free: 394.1 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.036e-05/7.134, allocations: 3.922 kB / 3.05 GB, free: 394.1 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006736/7.135, allocations: 85.5 kB / 3.05 GB, free: 394.1 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009099/7.136, allocations: 188 kB / 3.05 GB, free: 394.1 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002071/7.138, allocations: 1.528 MB / 3.052 GB, free: 392.8 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008701/7.139, allocations: 109 kB / 3.052 GB, free: 392.8 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001076/7.139, allocations: 38.27 kB / 3.052 GB, free: 392.8 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (102): * Single equations (assignments): 101 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.000251/7.139, allocations: 159.2 kB / 3.052 GB, free: 392.7 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002151/7.139, allocations: 97.83 kB / 3.052 GB, free: 392.6 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003407/7.143, allocations: 1.259 MB / 3.053 GB, free: 392.5 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.886e-05/7.143, allocations: 15.11 kB / 3.053 GB, free: 392.5 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.381e-06/7.143, allocations: 3.953 kB / 3.053 GB, free: 392.5 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.159e-05/7.143, allocations: 6.859 kB / 3.053 GB, free: 392.5 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005261/7.148, allocations: 2.421 MB / 3.056 GB, free: 392.1 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.201e-06/7.148, allocations: 2.531 kB / 3.056 GB, free: 392.1 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008566/7.149, allocations: 183.7 kB / 3.056 GB, free: 392.1 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005632/7.149, allocations: 84.48 kB / 3.056 GB, free: 392.1 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.067e-05/7.15, allocations: 31.86 kB / 3.056 GB, free: 392.1 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00187/7.151, allocations: 1.549 MB / 3.058 GB, free: 390.8 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/7.151, allocations: 0 / 3.058 GB, free: 390.8 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002637/7.154, allocations: 1.074 MB / 3.059 GB, free: 390.6 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009259/7.155, allocations: 352.5 kB / 3.059 GB, free: 390.4 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003269/7.155, allocations: 21.31 kB / 3.059 GB, free: 390.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009904/7.156, allocations: 80.69 kB / 3.059 GB, free: 390.4 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002609/7.157, allocations: 78.2 kB / 3.059 GB, free: 390.4 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001249/7.157, allocations: 37.67 kB / 3.059 GB, free: 390.4 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.001501/7.158, allocations: 0.5839 MB / 3.06 GB, free: 390.3 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.272e-06/7.158, allocations: 0 / 3.06 GB, free: 390.3 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.00254/7.161, allocations: 439.5 kB / 3.06 GB, free: 390.3 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (107): * Single equations (assignments): 104 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.003267/7.164, allocations: 1.025 MB / 3.061 GB, free: 390.1 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.002395/7.167, allocations: 0.8883 MB / 3.062 GB, free: 389.9 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 6.242e-06/7.167, allocations: 1.031 kB / 3.062 GB, free: 389.9 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.001272/7.168, allocations: 0.5632 MB / 3.063 GB, free: 389.8 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001725/7.17, allocations: 255.5 kB / 3.063 GB, free: 389.8 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00579/7.175, allocations: 1.717 MB / 3.065 GB, free: 389.4 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001438/7.177, allocations: 1.147 MB / 3.066 GB, free: 388.7 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001522/7.178, allocations: 293.5 kB / 3.066 GB, free: 388.6 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005571/7.179, allocations: 120.6 kB / 3.066 GB, free: 388.6 MB / 1.167 GB Notification: Performance of SimCode: time 1.854e-06/7.179, allocations: 0 / 3.066 GB, free: 388.6 MB / 1.167 GB Notification: Performance of Templates: time 0.05978/7.239, allocations: 24.91 MB / 3.09 GB, free: 387 MB / 1.167 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","../files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches