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.258/2.258, allocations: 390.5 MB / 398 MB, free: 10.91 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.001155/0.001155, allocations: 180.8 kB / 491.2 MB, free: 1.566 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.654/1.654, allocations: 221.5 MB / 0.7868 GB, free: 13.34 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.0008824/0.0008824, allocations: 83.97 kB / 0.9269 GB, free: 13.84 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.634e-05/1.635e-05, allocations: 4 kB / 1.073 GB, free: 182.1 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3431/0.3431, allocations: 143 MB / 1.212 GB, free: 39.55 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.443/5.786, allocations: 1.733 GB / 2.946 GB, free: 131.5 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002208/5.786, allocations: 87.95 kB / 2.946 GB, free: 131.4 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.1725/5.959, allocations: 83.21 MB / 3.027 GB, free: 47.94 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.623e-06/5.959, allocations: 4 kB / 3.027 GB, free: 47.93 MB / 1.151 GB Notification: Performance of Transformations before backend: time 8.336e-05/5.959, allocations: 31.98 kB / 3.027 GB, free: 47.9 MB / 1.151 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.002272/5.961, allocations: 1.316 MB / 3.028 GB, free: 46.54 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.866e-05/5.961, allocations: 8.031 kB / 3.028 GB, free: 46.53 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000897/5.962, allocations: 230 kB / 3.028 GB, free: 46.3 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001054/5.963, allocations: 0.7482 MB / 3.029 GB, free: 45.51 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001026/5.963, allocations: 80.19 kB / 3.029 GB, free: 45.42 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001087/5.963, allocations: 75.98 kB / 3.029 GB, free: 45.35 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001621/5.965, allocations: 1.266 MB / 3.031 GB, free: 44.08 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001529/5.967, allocations: 1.054 MB / 3.032 GB, free: 42.96 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.772e-05/5.967, allocations: 3.953 kB / 3.032 GB, free: 42.96 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.628e-05/5.967, allocations: 0 / 3.032 GB, free: 42.96 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.966e-05/5.967, allocations: 32 kB / 3.032 GB, free: 42.93 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004598/5.971, allocations: 3.329 MB / 3.035 GB, free: 39.54 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001033/5.972, allocations: 0.8086 MB / 3.036 GB, free: 38.73 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003699/5.973, allocations: 323.1 kB / 3.036 GB, free: 38.41 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 9.642e-05/5.973, allocations: 40.72 kB / 3.036 GB, free: 38.37 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000677/5.974, allocations: 0.4958 MB / 3.037 GB, free: 37.85 MB / 1.151 GB Notification: Performance of pre-optimization done (n=93): time 2.985e-06/5.974, allocations: 0 / 3.037 GB, free: 37.85 MB / 1.151 GB Notification: Performance of matching and sorting (n=93): time 0.001688/5.975, allocations: 0.8241 MB / 3.037 GB, free: 37.02 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.039e-05/5.975, allocations: 248.1 kB / 3.038 GB, free: 36.72 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006461/5.976, allocations: 0.574 MB / 3.038 GB, free: 36.14 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 5.971e-05/5.976, allocations: 25.7 kB / 3.038 GB, free: 36.11 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003074/5.976, allocations: 0.5191 MB / 3.039 GB, free: 35.58 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001902/5.977, allocations: 291.6 kB / 3.039 GB, free: 35.29 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.839e-05/5.977, allocations: 3.938 kB / 3.039 GB, free: 35.29 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001172/5.977, allocations: 386.7 kB / 3.039 GB, free: 34.9 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003397/5.977, allocations: 270.6 kB / 3.04 GB, free: 34.64 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004273/5.978, allocations: 393.2 kB / 3.04 GB, free: 34.22 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004678/5.978, allocations: 346.2 kB / 3.04 GB, free: 33.88 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/5.978, allocations: 3.938 kB / 3.04 GB, free: 33.88 MB / 1.151 GB Notification: Performance of matching and sorting (n=104) (initialization): time 0.001549/5.98, allocations: 0.864 MB / 3.041 GB, free: 33 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.336e-05/5.98, allocations: 4 kB / 3.041 GB, free: 33 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.847e-06/5.98, allocations: 7.938 kB / 3.041 GB, free: 32.99 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005716/5.98, allocations: 84.8 kB / 3.041 GB, free: 32.91 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000738/5.981, allocations: 199.6 kB / 3.041 GB, free: 32.71 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001498/5.983, allocations: 1.473 MB / 3.043 GB, free: 31.12 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005905/5.983, allocations: 71.41 kB / 3.043 GB, free: 31.05 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.636e-05/5.983, allocations: 35.97 kB / 3.043 GB, free: 31.01 MB / 1.151 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.000169/5.983, allocations: 116.8 kB / 3.043 GB, free: 30.89 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001221/5.984, allocations: 94.88 kB / 3.043 GB, free: 30.8 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002186/5.986, allocations: 1.191 MB / 3.044 GB, free: 29.59 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.017e-06/5.986, allocations: 15.95 kB / 3.044 GB, free: 29.57 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.314e-06/5.986, allocations: 0 / 3.044 GB, free: 29.57 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.144e-05/5.986, allocations: 3.984 kB / 3.044 GB, free: 29.57 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002857/5.989, allocations: 2.199 MB / 3.046 GB, free: 27.32 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.789e-06/5.989, allocations: 0 / 3.046 GB, free: 27.32 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006662/5.989, allocations: 191.7 kB / 3.047 GB, free: 27.14 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004444/5.99, allocations: 80.78 kB / 3.047 GB, free: 27.05 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.129e-05/5.99, allocations: 15.98 kB / 3.047 GB, free: 27.04 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00133/5.991, allocations: 1.496 MB / 3.048 GB, free: 25.42 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/5.991, allocations: 0 / 3.048 GB, free: 25.42 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001458/5.993, allocations: 1.017 MB / 3.049 GB, free: 24.39 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003526/5.993, allocations: 339.4 kB / 3.05 GB, free: 24.04 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000113/5.993, allocations: 0 / 3.05 GB, free: 24.04 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000623/5.994, allocations: 59.94 kB / 3.05 GB, free: 23.98 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001343/5.994, allocations: 81.16 kB / 3.05 GB, free: 23.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.335e-05/5.994, allocations: 39.97 kB / 3.05 GB, free: 23.86 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0005026/5.994, allocations: 487.1 kB / 3.05 GB, free: 23.39 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.4e-07/5.994, allocations: 0 / 3.05 GB, free: 23.39 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001221/5.996, allocations: 406.6 kB / 3.051 GB, free: 22.99 MB / 1.151 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.001837/5.998, allocations: 1.082 MB / 3.052 GB, free: 22.01 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001248/5.999, allocations: 0.8395 MB / 3.052 GB, free: 21.16 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/5.999, allocations: 0 / 3.052 GB, free: 21.16 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0006508/5.999, allocations: 0.526 MB / 3.053 GB, free: 20.62 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001061/6.001, allocations: 224 kB / 3.053 GB, free: 20.41 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003509/6.004, allocations: 1.653 MB / 3.055 GB, free: 18.73 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005616/6.005, allocations: 1.151 MB / 3.056 GB, free: 17.55 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0008628/6.006, allocations: 287 kB / 3.056 GB, free: 17.27 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000277/6.006, allocations: 115.4 kB / 3.056 GB, free: 17.15 MB / 1.151 GB Notification: Performance of SimCode: time 2.6e-07/6.006, allocations: 4 kB / 3.056 GB, free: 17.15 MB / 1.151 GB Notification: Performance of Templates: time 0.7606/6.766, allocations: 18.14 MB / 3.074 GB, free: 384.1 MB / 1.151 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