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.001118/0.001118, allocations: 92.78 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001476/0.001476, allocations: 179.1 kB / 16.92 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.39/1.39, allocations: 223.3 MB / 241 MB, free: 5.266 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.376/2.376, allocations: 390.9 MB / 0.667 GB, free: 2.375 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003669/0.0003671, allocations: 12.28 kB / 0.8166 GB, free: 13.28 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7155/0.7159, allocations: 142.4 MB / 0.9557 GB, free: 7.73 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic): time 0.004408/0.7203, allocations: 4.306 MB / 0.9599 GB, free: 4.34 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1659/0.8862, allocations: 146.8 MB / 1.103 GB, free: 7.77 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009202/0.8872, allocations: 19.88 kB / 1.103 GB, free: 7.75 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0005321/0.8878, allocations: 154.8 kB / 1.103 GB, free: 7.598 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001589/0.8894, allocations: 455.3 kB / 1.104 GB, free: 7.156 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001831/0.8912, allocations: 0.7532 MB / 1.105 GB, free: 6.41 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001366/0.8926, allocations: 1.335 MB / 1.106 GB, free: 5.07 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001119/0.8937, allocations: 0.8769 MB / 1.107 GB, free: 4.148 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005545/0.8943, allocations: 389.9 kB / 1.107 GB, free: 3.766 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005025/0.8948, allocations: 449.2 kB / 1.108 GB, free: 3.324 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 7.957e-05/0.8949, allocations: 28 kB / 1.108 GB, free: 3.297 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007591/0.8956, allocations: 367.6 kB / 1.108 GB, free: 2.938 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002248/0.8959, allocations: 210.9 kB / 1.108 GB, free: 2.73 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0004867/0.8964, allocations: 0.5372 MB / 1.109 GB, free: 2.184 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001477/0.8978, allocations: 1.426 MB / 1.11 GB, free: 0.7539 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.8979, allocations: 0 / 1.11 GB, free: 0.7539 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.453e-06/0.8979, allocations: 0 / 1.11 GB, free: 0.7539 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 2.308e-05/0.8979, allocations: 0 / 1.11 GB, free: 0.7539 MB / 0.8575 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.002451/0.9004, allocations: 1.413 MB / 1.111 GB, free: 15.29 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.752e-05/0.9004, allocations: 8.031 kB / 1.111 GB, free: 15.28 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009484/0.9014, allocations: 242.9 kB / 1.112 GB, free: 15.04 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001168/0.9026, allocations: 0.8443 MB / 1.112 GB, free: 14.16 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.066e-05/0.9026, allocations: 90.41 kB / 1.113 GB, free: 14.07 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001484/0.9028, allocations: 116 kB / 1.113 GB, free: 13.95 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001987/0.9048, allocations: 1.21 MB / 1.114 GB, free: 12.68 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.41e-05/0.9048, allocations: 0 / 1.114 GB, free: 12.68 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001075/0.9049, allocations: 55.98 kB / 1.114 GB, free: 12.62 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.665e-05/0.905, allocations: 32 kB / 1.114 GB, free: 12.59 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002142/0.9071, allocations: 1.289 MB / 1.115 GB, free: 11.3 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004844/0.912, allocations: 3.187 MB / 1.118 GB, free: 8.031 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00156/0.9136, allocations: 0.8727 MB / 1.119 GB, free: 7.148 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000648/0.9142, allocations: 326.7 kB / 1.119 GB, free: 6.824 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 8.013e-05/0.9143, allocations: 36.59 kB / 1.12 GB, free: 6.789 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008972/0.9152, allocations: 0.5081 MB / 1.12 GB, free: 6.262 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=87): time 2.565e-06/0.9152, allocations: 4 kB / 1.12 GB, free: 6.258 MB / 0.8731 GB Notification: Performance of matching and sorting (n=87): time 0.003342/0.9186, allocations: 1.298 MB / 1.121 GB, free: 4.934 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001031/0.9187, allocations: 188.9 kB / 1.121 GB, free: 4.707 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000957/0.9197, allocations: 0.7353 MB / 1.122 GB, free: 3.961 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 7.28e-05/0.9197, allocations: 41.7 kB / 1.122 GB, free: 3.914 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004214/0.9202, allocations: 0.5154 MB / 1.123 GB, free: 3.391 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002242/0.9204, allocations: 287.9 kB / 1.123 GB, free: 3.105 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001039/0.9205, allocations: 73.67 kB / 1.123 GB, free: 3.027 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001225/0.9206, allocations: 341.9 kB / 1.123 GB, free: 2.688 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000567/0.9212, allocations: 293.8 kB / 1.124 GB, free: 2.398 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006564/0.9219, allocations: 395 kB / 1.124 GB, free: 2 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001203/0.9231, allocations: 0.6709 MB / 1.125 GB, free: 1.316 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/0.9231, allocations: 0 / 1.125 GB, free: 1.316 MB / 0.8731 GB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002125/0.9252, allocations: 0.9189 MB / 1.126 GB, free: 396 kB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.375e-05/0.9253, allocations: 9.406 kB / 1.126 GB, free: 388 kB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.436e-05/0.9253, allocations: 11.98 kB / 1.126 GB, free: 376 kB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006132/0.9259, allocations: 80.88 kB / 1.126 GB, free: 292 kB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007231/0.9267, allocations: 183.7 kB / 1.126 GB, free: 108 kB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002059/0.9287, allocations: 1.516 MB / 1.127 GB, free: 14.45 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008702/0.9296, allocations: 115.3 kB / 1.127 GB, free: 14.34 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.55e-05/0.9297, allocations: 39.97 kB / 1.128 GB, free: 14.3 MB / 0.8887 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 17 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (104): * Single equations (assignments): 103 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0005582/0.9303, allocations: 295.3 kB / 1.128 GB, free: 14 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001546/0.9304, allocations: 98.78 kB / 1.128 GB, free: 13.9 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002523/0.933, allocations: 1.133 MB / 1.129 GB, free: 12.75 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.018e-05/0.933, allocations: 8 kB / 1.129 GB, free: 12.75 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.933, allocations: 0 / 1.129 GB, free: 12.75 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.497e-05/0.933, allocations: 12.02 kB / 1.129 GB, free: 12.73 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001307/0.9343, allocations: 1.052 MB / 1.13 GB, free: 11.63 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.609e-06/0.9344, allocations: 0 / 1.13 GB, free: 11.63 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006359/0.935, allocations: 155.8 kB / 1.13 GB, free: 11.48 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005452/0.9356, allocations: 80.78 kB / 1.13 GB, free: 11.4 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.961e-05/0.9356, allocations: 31.97 kB / 1.13 GB, free: 11.37 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001912/0.9375, allocations: 1.551 MB / 1.132 GB, free: 9.676 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.9376, allocations: 0 / 1.132 GB, free: 9.676 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00211/0.9397, allocations: 0.9941 MB / 1.133 GB, free: 8.66 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004557/0.9401, allocations: 311.5 kB / 1.133 GB, free: 8.336 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000162/0.9403, allocations: 20 kB / 1.133 GB, free: 8.316 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007215/0.941, allocations: 79.92 kB / 1.133 GB, free: 8.238 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001642/0.9412, allocations: 72.89 kB / 1.133 GB, free: 8.164 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.729e-05/0.9413, allocations: 35.98 kB / 1.133 GB, free: 8.129 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0007882/0.9421, allocations: 0.5185 MB / 1.134 GB, free: 7.617 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.71e-07/0.9421, allocations: 0 / 1.134 GB, free: 7.617 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0009828/0.9431, allocations: 358.8 kB / 1.134 GB, free: 7.266 MB / 0.8887 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001486/0.9446, allocations: 0.6113 MB / 1.135 GB, free: 6.832 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.001929/0.9465, allocations: 0.8938 MB / 1.136 GB, free: 5.93 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/0.9465, allocations: 0 / 1.136 GB, free: 5.93 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.00102/0.9476, allocations: 0.5431 MB / 1.136 GB, free: 5.375 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001538/0.9491, allocations: 282.3 kB / 1.136 GB, free: 5.105 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005308/0.9544, allocations: 2.734 MB / 1.139 GB, free: 2.34 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008652/0.9553, allocations: 1.106 MB / 1.14 GB, free: 1.203 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005196/0.9559, allocations: 127.3 kB / 1.14 GB, free: 1.078 MB / 0.8887 GB Notification: Performance of SimCode: time 1.433e-06/0.9559, allocations: 0 / 1.14 GB, free: 1.078 MB / 0.8887 GB Notification: Performance of Templates: time 0.03233/0.9882, allocations: 21.26 MB / 1.161 GB, free: 11.86 MB / 0.92 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches