Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|HDifRoo.H|HDifWal.H|HDifFlo.H",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic") translateModel(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|HDifRoo.H|HDifWal.H|HDifFlo.H",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.385/2.385, allocations: 387.1 MB / 399.7 MB, free: 9.492 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.001131/0.00113, allocations: 181 kB / 492.3 MB, free: 0.6211 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.681/1.681, allocations: 221.3 MB / 0.7871 GB, free: 12.91 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.0009049/0.0009049, allocations: 87.95 kB / 0.9267 GB, free: 13.98 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.952e-05/2.954e-05, allocations: 4 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3265/0.3265, allocations: 142.3 MB / 1.212 GB, free: 38.53 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.666/4.993, allocations: 1.732 GB / 2.944 GB, free: 107.8 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002404/4.993, allocations: 88.97 kB / 2.944 GB, free: 107.7 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.1624/5.156, allocations: 80.5 MB / 3.023 GB, free: 32.44 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.575e-06/5.156, allocations: 0 / 3.023 GB, free: 32.44 MB / 1.151 GB Notification: Performance of Transformations before backend: time 8.182e-05/5.156, allocations: 31.98 kB / 3.023 GB, free: 32.41 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: 292 * Number of variables: 292 Notification: Performance of Generate backend data structure: time 0.001895/5.158, allocations: 1.267 MB / 3.024 GB, free: 31.09 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.213e-05/5.158, allocations: 12.03 kB / 3.024 GB, free: 31.08 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008251/5.159, allocations: 218.1 kB / 3.024 GB, free: 30.86 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009595/5.16, allocations: 0.7094 MB / 3.025 GB, free: 30.11 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.371e-05/5.16, allocations: 90.28 kB / 3.025 GB, free: 30.02 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001126/5.16, allocations: 108 kB / 3.025 GB, free: 29.92 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00153/5.161, allocations: 1.099 MB / 3.026 GB, free: 28.75 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.136e-05/5.161, allocations: 3.938 kB / 3.026 GB, free: 28.75 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.977e-05/5.161, allocations: 47.95 kB / 3.026 GB, free: 28.7 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.856e-05/5.161, allocations: 28 kB / 3.026 GB, free: 28.68 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001443/5.163, allocations: 1.187 MB / 3.027 GB, free: 27.48 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003752/5.167, allocations: 3.071 MB / 3.03 GB, free: 24.33 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000953/5.168, allocations: 0.7465 MB / 3.031 GB, free: 23.57 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003497/5.168, allocations: 275.1 kB / 3.031 GB, free: 23.3 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 7.915e-05/5.168, allocations: 32.81 kB / 3.031 GB, free: 23.27 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005574/5.169, allocations: 429.3 kB / 3.032 GB, free: 22.83 MB / 1.151 GB Notification: Performance of pre-optimization done (n=78): time 2.545e-06/5.169, allocations: 4 kB / 3.032 GB, free: 22.82 MB / 1.151 GB Notification: Performance of matching and sorting (n=78): time 0.001497/5.17, allocations: 0.7352 MB / 3.032 GB, free: 22.08 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.143e-05/5.17, allocations: 244.1 kB / 3.033 GB, free: 21.79 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006982/5.171, allocations: 0.668 MB / 3.033 GB, free: 21.11 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 5.726e-05/5.171, allocations: 41.81 kB / 3.033 GB, free: 21.07 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002606/5.171, allocations: 0.4918 MB / 3.034 GB, free: 20.57 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001368/5.171, allocations: 260.3 kB / 3.034 GB, free: 20.31 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.408e-05/5.171, allocations: 12 kB / 3.034 GB, free: 20.3 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 5.715e-05/5.172, allocations: 334 kB / 3.034 GB, free: 19.96 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003091/5.172, allocations: 217.5 kB / 3.035 GB, free: 19.75 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003725/5.172, allocations: 329.1 kB / 3.035 GB, free: 19.4 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003771/5.173, allocations: 270 kB / 3.035 GB, free: 19.14 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/5.173, allocations: 0 / 3.035 GB, free: 19.14 MB / 1.151 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001396/5.174, allocations: 0.7538 MB / 3.036 GB, free: 18.38 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.959e-05/5.174, allocations: 5.094 kB / 3.036 GB, free: 18.37 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/5.174, allocations: 0 / 3.036 GB, free: 18.37 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000569/5.175, allocations: 84.83 kB / 3.036 GB, free: 18.29 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005839/5.175, allocations: 151.7 kB / 3.036 GB, free: 18.14 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001653/5.177, allocations: 1.512 MB / 3.038 GB, free: 16.48 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005681/5.178, allocations: 95.25 kB / 3.038 GB, free: 16.39 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.411e-05/5.178, allocations: 32.17 kB / 3.038 GB, free: 16.36 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (83): * Single equations (assignments): 82 * 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.000147/5.178, allocations: 144.8 kB / 3.038 GB, free: 16.21 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001137/5.178, allocations: 94.81 kB / 3.038 GB, free: 16.12 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001845/5.18, allocations: 0.9946 MB / 3.039 GB, free: 15.1 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.432e-06/5.18, allocations: 8 kB / 3.039 GB, free: 15.09 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.595e-06/5.18, allocations: 0 / 3.039 GB, free: 15.09 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.926e-06/5.18, allocations: 3.984 kB / 3.039 GB, free: 15.09 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009756/5.181, allocations: 1.009 MB / 3.04 GB, free: 14.03 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.26e-06/5.181, allocations: 0 / 3.04 GB, free: 14.03 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005566/5.181, allocations: 155.8 kB / 3.04 GB, free: 13.88 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004661/5.182, allocations: 80.78 kB / 3.04 GB, free: 13.8 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.669e-05/5.182, allocations: 27.98 kB / 3.04 GB, free: 13.77 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001372/5.183, allocations: 1.548 MB / 3.042 GB, free: 12.09 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/5.183, allocations: 0 / 3.042 GB, free: 12.09 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001383/5.185, allocations: 0.84 MB / 3.043 GB, free: 11.22 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004007/5.185, allocations: 299.6 kB / 3.043 GB, free: 10.91 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001026/5.185, allocations: 20 kB / 3.043 GB, free: 10.89 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000527/5.186, allocations: 75.81 kB / 3.043 GB, free: 10.81 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000123/5.186, allocations: 64.66 kB / 3.043 GB, free: 10.75 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.454e-05/5.186, allocations: 31.97 kB / 3.043 GB, free: 10.72 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0005764/5.186, allocations: 0.5343 MB / 3.044 GB, free: 10.19 MB / 1.151 GB Notification: Performance of sort global known variables: time 3.01e-07/5.186, allocations: 0 / 3.044 GB, free: 10.19 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001074/5.188, allocations: 402.8 kB / 3.044 GB, free: 9.793 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.conTimMin.tNext,weaDat.conTim.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (89): * Single equations (assignments): 86 * 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.001798/5.189, allocations: 1.029 MB / 3.045 GB, free: 8.914 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001193/5.191, allocations: 0.7176 MB / 3.046 GB, free: 8.184 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.287e-06/5.191, allocations: 0 / 3.046 GB, free: 8.184 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0006432/5.191, allocations: 0.495 MB / 3.046 GB, free: 7.672 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001055/5.192, allocations: 245 kB / 3.046 GB, free: 7.441 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003357/5.196, allocations: 1.551 MB / 3.048 GB, free: 5.863 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004305/5.196, allocations: 1.106 MB / 3.049 GB, free: 4.73 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0008404/5.197, allocations: 274.7 kB / 3.049 GB, free: 4.457 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002328/5.197, allocations: 99.39 kB / 3.049 GB, free: 4.359 MB / 1.151 GB Notification: Performance of SimCode: time 5.91e-07/5.197, allocations: 0 / 3.049 GB, free: 4.359 MB / 1.151 GB Notification: Performance of Templates: time 0.5899/5.787, allocations: 22.59 MB / 3.071 GB, free: 385.2 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.sim & ./Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic.csv","../files/Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches