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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001196/0.001196, allocations: 99.94 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.00123/0.00123, 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.359/1.359, allocations: 223.2 MB / 239.9 MB, free: 5.426 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.332/2.332, allocations: 390.3 MB / 0.6653 GB, free: 2.938 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004126/0.0004127, allocations: 12 kB / 0.8145 GB, free: 14.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.627/0.6275, allocations: 142.3 MB / 0.9535 GB, free: 8.109 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic): time 0.004087/0.6316, allocations: 3.983 MB / 0.9574 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1409/0.7725, allocations: 127.7 MB / 1.082 GB, free: 12.16 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008573/0.7734, allocations: 15.94 kB / 1.082 GB, free: 12.15 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0005047/0.774, allocations: 87.14 kB / 1.082 GB, free: 12.06 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.001819/0.7758, allocations: 0.5132 MB / 1.083 GB, free: 11.55 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.001793/0.7776, allocations: 0.6443 MB / 1.083 GB, free: 10.91 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.001622/0.7792, allocations: 0.8956 MB / 1.084 GB, free: 10.02 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009776/0.7802, allocations: 0.6906 MB / 1.085 GB, free: 9.305 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000671/0.7809, allocations: 382.2 kB / 1.085 GB, free: 8.93 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000594/0.7815, allocations: 401.6 kB / 1.086 GB, free: 8.535 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0001177/0.7816, allocations: 28 kB / 1.086 GB, free: 8.508 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007706/0.7824, allocations: 303.7 kB / 1.086 GB, free: 8.211 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0002335/0.7827, allocations: 215 kB / 1.086 GB, free: 8 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0002387/0.7829, allocations: 241 kB / 1.086 GB, free: 7.758 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.001501/0.7844, allocations: 1.41 MB / 1.088 GB, free: 6.348 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/0.7844, allocations: 0 / 1.088 GB, free: 6.348 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.884e-06/0.7844, allocations: 4 kB / 1.088 GB, free: 6.344 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 2.331e-05/0.7845, allocations: 0 / 1.088 GB, free: 6.344 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: 305 * Number of variables: 305 Notification: Performance of Generate backend data structure: time 0.002536/0.787, allocations: 1.431 MB / 1.089 GB, free: 4.859 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.871e-05/0.7871, allocations: 8.031 kB / 1.089 GB, free: 4.852 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009552/0.788, allocations: 234 kB / 1.089 GB, free: 4.621 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001204/0.7892, allocations: 0.813 MB / 1.09 GB, free: 3.766 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.818e-05/0.7893, allocations: 90.41 kB / 1.09 GB, free: 3.676 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001389/0.7895, allocations: 120 kB / 1.09 GB, free: 3.559 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001971/0.7914, allocations: 1.186 MB / 1.092 GB, free: 2.309 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.352e-05/0.7915, allocations: 0 / 1.092 GB, free: 2.309 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001013/0.7916, allocations: 55.94 kB / 1.092 GB, free: 2.254 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.438e-05/0.7916, allocations: 35.98 kB / 1.092 GB, free: 2.219 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002074/0.7937, allocations: 1.285 MB / 1.093 GB, free: 0.9258 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004878/0.7986, allocations: 3.18 MB / 1.096 GB, free: 13.67 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00152/0.8001, allocations: 0.8641 MB / 1.097 GB, free: 12.79 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 7.603e-05/0.8002, allocations: 28.61 kB / 1.097 GB, free: 12.77 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008824/0.8011, allocations: 0.5199 MB / 1.097 GB, free: 12.23 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=87): time 2.424e-06/0.8011, allocations: 4 kB / 1.097 GB, free: 12.23 MB / 0.8575 GB Notification: Performance of matching and sorting (n=87): time 0.003173/0.8043, allocations: 1.283 MB / 1.099 GB, free: 10.91 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.465e-05/0.8044, allocations: 192.9 kB / 1.099 GB, free: 10.68 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008778/0.8053, allocations: 0.7314 MB / 1.099 GB, free: 9.945 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 7.845e-05/0.8054, allocations: 45.7 kB / 1.1 GB, free: 9.895 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003773/0.8058, allocations: 0.5154 MB / 1.1 GB, free: 9.371 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002108/0.806, allocations: 279.9 kB / 1.1 GB, free: 9.094 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.012e-05/0.806, allocations: 16 kB / 1.1 GB, free: 9.078 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001242/0.8062, allocations: 337.9 kB / 1.101 GB, free: 8.742 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005316/0.8067, allocations: 269.9 kB / 1.101 GB, free: 8.48 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006221/0.8073, allocations: 382.5 kB / 1.101 GB, free: 8.078 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005818/0.8079, allocations: 318.8 kB / 1.102 GB, free: 7.77 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.509e-06/0.808, allocations: 3.953 kB / 1.102 GB, free: 7.766 MB / 0.8575 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001879/0.8098, allocations: 0.8722 MB / 1.102 GB, free: 6.883 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.705e-05/0.8099, allocations: 7.938 kB / 1.102 GB, free: 6.875 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.616e-06/0.8099, allocations: 0 / 1.102 GB, free: 6.875 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005738/0.8105, allocations: 88.8 kB / 1.103 GB, free: 6.785 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007318/0.8112, allocations: 167.8 kB / 1.103 GB, free: 6.621 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001994/0.8132, allocations: 1.524 MB / 1.104 GB, free: 4.957 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000752/0.814, allocations: 111.3 kB / 1.104 GB, free: 4.848 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.699e-05/0.8141, allocations: 39.88 kB / 1.104 GB, free: 4.809 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 (96): * Single equations (assignments): 95 * 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.0005308/0.8146, allocations: 285.7 kB / 1.105 GB, free: 4.52 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001398/0.8147, allocations: 98.78 kB / 1.105 GB, free: 4.422 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002439/0.8172, allocations: 1.141 MB / 1.106 GB, free: 3.266 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.2e-05/0.8172, allocations: 15.95 kB / 1.106 GB, free: 3.25 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.676e-06/0.8172, allocations: 0 / 1.106 GB, free: 3.25 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.107e-05/0.8172, allocations: 7.969 kB / 1.106 GB, free: 3.242 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001235/0.8185, allocations: 1.056 MB / 1.107 GB, free: 2.133 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.938e-06/0.8185, allocations: 0 / 1.107 GB, free: 2.133 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006662/0.8192, allocations: 155.8 kB / 1.107 GB, free: 1.98 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005127/0.8197, allocations: 84.77 kB / 1.107 GB, free: 1.895 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.881e-05/0.8198, allocations: 23.98 kB / 1.107 GB, free: 1.871 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001892/0.8217, allocations: 1.571 MB / 1.109 GB, free: 168 kB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.8217, allocations: 0 / 1.109 GB, free: 168 kB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002014/0.8237, allocations: 0.9863 MB / 1.11 GB, free: 15.15 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000483/0.8242, allocations: 299.5 kB / 1.11 GB, free: 14.84 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001406/0.8243, allocations: 27.98 kB / 1.11 GB, free: 14.81 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006529/0.825, allocations: 81.62 kB / 1.11 GB, free: 14.73 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001502/0.8252, allocations: 72.89 kB / 1.11 GB, free: 14.66 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.383e-05/0.8252, allocations: 39.97 kB / 1.11 GB, free: 14.62 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.000679/0.8259, allocations: 0.5107 MB / 1.111 GB, free: 14.12 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.71e-07/0.8259, allocations: 0 / 1.111 GB, free: 14.12 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0008606/0.8268, allocations: 362.7 kB / 1.111 GB, free: 13.77 MB / 0.8731 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 (98): * Single equations (assignments): 92 * 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.001294/0.8281, allocations: 0.599 MB / 1.112 GB, free: 13.34 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001674/0.8298, allocations: 0.8509 MB / 1.112 GB, free: 12.48 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.8298, allocations: 0 / 1.112 GB, free: 12.48 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0009263/0.8307, allocations: 0.5432 MB / 1.113 GB, free: 11.93 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001132/0.8319, allocations: 263.5 kB / 1.113 GB, free: 11.67 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004848/0.8367, allocations: 2.603 MB / 1.116 GB, free: 9.035 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00068/0.8375, allocations: 1.136 MB / 1.117 GB, free: 7.875 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0009287/0.8384, allocations: 271.4 kB / 1.117 GB, free: 7.605 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002674/0.8387, allocations: 115.4 kB / 1.117 GB, free: 7.492 MB / 0.8731 GB Notification: Performance of SimCode: time 5.31e-07/0.8387, allocations: 0 / 1.117 GB, free: 7.492 MB / 0.8731 GB Notification: Performance of Templates: time 0.02443/0.8631, allocations: 14.4 MB / 1.131 GB, free: 9.254 MB / 0.8887 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