Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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.BaseClasses.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|HDifTilIso.HSkyDifTil|HDifTilIso.HGroDifTil",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic") translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|HDifTilIso.HSkyDifTil|HDifTilIso.HGroDifTil",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009192/0.000919, allocations: 97.97 kB / 15.05 MB, free: 1.105 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.0009917/0.0009912, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.36/1.36, allocations: 223.2 MB / 239.9 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.288/2.288, allocations: 390.3 MB / 0.6653 GB, free: 2.965 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003279/0.0003279, allocations: 12 kB / 0.8145 GB, free: 14.25 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6039/0.6043, allocations: 142.3 MB / 0.9535 GB, free: 8.125 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic): time 0.004941/0.6093, allocations: 3.652 MB / 0.9571 GB, free: 5.309 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1374/0.7467, allocations: 127.5 MB / 1.082 GB, free: 12.68 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008383/0.7476, allocations: 11.94 kB / 1.082 GB, free: 12.66 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0004784/0.748, allocations: 79.33 kB / 1.082 GB, free: 12.59 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.001748/0.7498, allocations: 494.3 kB / 1.082 GB, free: 12.11 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.001986/0.7518, allocations: 0.6203 MB / 1.083 GB, free: 11.49 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.001653/0.7535, allocations: 0.8027 MB / 1.084 GB, free: 10.69 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000903/0.7544, allocations: 471.2 kB / 1.084 GB, free: 10.21 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005955/0.755, allocations: 334.6 kB / 1.084 GB, free: 9.887 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005146/0.7555, allocations: 326.3 kB / 1.085 GB, free: 9.566 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.000137/0.7557, allocations: 31.94 kB / 1.085 GB, free: 9.535 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007776/0.7565, allocations: 311.6 kB / 1.085 GB, free: 9.23 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0002289/0.7567, allocations: 179.2 kB / 1.085 GB, free: 9.055 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0002293/0.7569, allocations: 197.1 kB / 1.085 GB, free: 8.855 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.001401/0.7583, allocations: 1.153 MB / 1.086 GB, free: 7.703 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.025e-06/0.7584, allocations: 3.938 kB / 1.086 GB, free: 7.699 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.633e-06/0.7584, allocations: 0 / 1.086 GB, free: 7.699 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 3.615e-05/0.7584, allocations: 0 / 1.086 GB, free: 7.699 MB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 211 * Number of variables: 211 Notification: Performance of Generate backend data structure: time 0.002974/0.7614, allocations: 1.212 MB / 1.088 GB, free: 6.43 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.731e-05/0.7614, allocations: 8.031 kB / 1.088 GB, free: 6.422 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001259/0.7627, allocations: 194.5 kB / 1.088 GB, free: 6.23 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001685/0.7644, allocations: 0.7147 MB / 1.089 GB, free: 5.473 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.215e-05/0.7645, allocations: 62 kB / 1.089 GB, free: 5.414 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001522/0.7647, allocations: 83.98 kB / 1.089 GB, free: 5.332 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001714/0.7664, allocations: 0.9028 MB / 1.09 GB, free: 4.387 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.003e-05/0.7664, allocations: 0 / 1.09 GB, free: 4.387 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.813e-05/0.7665, allocations: 39.95 kB / 1.09 GB, free: 4.348 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.944e-05/0.7665, allocations: 20 kB / 1.09 GB, free: 4.328 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001747/0.7683, allocations: 1.112 MB / 1.091 GB, free: 3.219 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004296/0.7726, allocations: 2.52 MB / 1.093 GB, free: 0.625 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00147/0.7741, allocations: 0.7981 MB / 1.094 GB, free: 15.82 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 9.002e-05/0.7742, allocations: 36.42 kB / 1.094 GB, free: 15.79 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008776/0.7751, allocations: 494.6 kB / 1.094 GB, free: 15.29 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=80): time 2.455e-06/0.7751, allocations: 0 / 1.094 GB, free: 15.29 MB / 0.8575 GB Notification: Performance of matching and sorting (n=80): time 0.003191/0.7783, allocations: 1.194 MB / 1.096 GB, free: 14.07 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001105/0.7784, allocations: 188.6 kB / 1.096 GB, free: 13.84 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008935/0.7793, allocations: 0.6254 MB / 1.096 GB, free: 13.21 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 8.447e-05/0.7794, allocations: 41.7 kB / 1.096 GB, free: 13.16 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003284/0.7798, allocations: 400.3 kB / 1.097 GB, free: 12.76 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002265/0.78, allocations: 256.3 kB / 1.097 GB, free: 12.51 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.116e-05/0.78, allocations: 16 kB / 1.097 GB, free: 12.49 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001668/0.7802, allocations: 386.7 kB / 1.097 GB, free: 12.11 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005262/0.7807, allocations: 249.9 kB / 1.098 GB, free: 11.86 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005992/0.7814, allocations: 354.5 kB / 1.098 GB, free: 11.49 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005563/0.7819, allocations: 286.9 kB / 1.098 GB, free: 11.21 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.7819, allocations: 0 / 1.098 GB, free: 11.21 MB / 0.8575 GB Notification: Performance of matching and sorting (n=89) (initialization): time 0.001814/0.7838, allocations: 0.8097 MB / 1.099 GB, free: 10.39 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.956e-05/0.7838, allocations: 4 kB / 1.099 GB, free: 10.39 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.698e-06/0.7838, allocations: 8.062 kB / 1.099 GB, free: 10.38 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005896/0.7844, allocations: 80.77 kB / 1.099 GB, free: 10.3 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00066/0.7851, allocations: 151.8 kB / 1.099 GB, free: 10.15 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002022/0.7871, allocations: 1.528 MB / 1.101 GB, free: 8.48 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007152/0.7878, allocations: 107.3 kB / 1.101 GB, free: 8.375 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.724e-05/0.7879, allocations: 31.92 kB / 1.101 GB, free: 8.344 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.weaDat.locTim.tNext,weaDat.locTim.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.decAng.tNext,weaDat.decAng.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (87): * Single equations (assignments): 86 * 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.0004442/0.7884, allocations: 261.7 kB / 1.101 GB, free: 8.078 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001633/0.7885, allocations: 86.95 kB / 1.101 GB, free: 7.992 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002364/0.7909, allocations: 1.069 MB / 1.102 GB, free: 6.91 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.686e-06/0.7909, allocations: 8.234 kB / 1.102 GB, free: 6.902 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.7909, allocations: 8 kB / 1.102 GB, free: 6.895 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.162e-05/0.791, allocations: 11.95 kB / 1.102 GB, free: 6.883 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001068/0.792, allocations: 0.8841 MB / 1.103 GB, free: 5.945 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.021e-06/0.792, allocations: 0 / 1.103 GB, free: 5.945 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005849/0.7926, allocations: 151.8 kB / 1.103 GB, free: 5.797 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004998/0.7931, allocations: 76.78 kB / 1.103 GB, free: 5.719 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.265e-05/0.7932, allocations: 35.92 kB / 1.103 GB, free: 5.684 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001745/0.795, allocations: 1.551 MB / 1.105 GB, free: 3.992 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.795, allocations: 0 / 1.105 GB, free: 3.992 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001903/0.7969, allocations: 0.9279 MB / 1.106 GB, free: 3.043 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004435/0.7974, allocations: 283.7 kB / 1.106 GB, free: 2.746 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001439/0.7975, allocations: 20 kB / 1.106 GB, free: 2.727 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006604/0.7982, allocations: 82.12 kB / 1.106 GB, free: 2.648 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001461/0.7983, allocations: 68.89 kB / 1.106 GB, free: 2.582 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.783e-05/0.7984, allocations: 39.97 kB / 1.106 GB, free: 2.543 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0005932/0.799, allocations: 455 kB / 1.107 GB, free: 2.105 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.81e-07/0.799, allocations: 0 / 1.107 GB, free: 2.105 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0008452/0.7999, allocations: 303.2 kB / 1.107 GB, free: 1.809 MB / 0.8575 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (91): * Single equations (assignments): 85 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.001326/0.8012, allocations: 0.6049 MB / 1.108 GB, free: 1.375 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.001616/0.8028, allocations: 0.7924 MB / 1.108 GB, free: 0.5703 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/0.8029, allocations: 0 / 1.108 GB, free: 0.5703 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0008924/0.8038, allocations: 0.5119 MB / 1.109 GB, free: 52 kB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001106/0.8049, allocations: 255.2 kB / 1.109 GB, free: 15.8 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004123/0.809, allocations: 2.153 MB / 1.111 GB, free: 13.62 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007341/0.8098, allocations: 1.051 MB / 1.112 GB, free: 12.55 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.001017/0.8108, allocations: 254.6 kB / 1.113 GB, free: 12.29 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000293/0.8111, allocations: 99.39 kB / 1.113 GB, free: 12.2 MB / 0.8731 GB Notification: Performance of SimCode: time 6.72e-07/0.8111, allocations: 0 / 1.113 GB, free: 12.2 MB / 0.8731 GB Notification: Performance of Templates: time 0.02364/0.8348, allocations: 13.52 MB / 1.126 GB, free: 14.83 MB / 0.8887 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.sim & ./Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic.csv","../files/Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches