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.001061/0.001066, allocations: 99.34 kB / 16.02 MB, free: 72 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.001374/0.001374, allocations: 182.9 kB / 16.92 MB, free: 6.918 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.452/1.452, allocations: 223.3 MB / 241 MB, free: 5.328 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.511/2.511, allocations: 390.9 MB / 0.667 GB, free: 2.34 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003593/0.0003595, allocations: 11.94 kB / 0.8166 GB, free: 13.25 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7237/0.724, allocations: 142.4 MB / 0.9557 GB, free: 7.695 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic): time 0.0045/0.7286, allocations: 3.939 MB / 0.9596 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1717/0.9004, allocations: 146.6 MB / 1.103 GB, free: 8.234 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009783/0.9014, allocations: 19.88 kB / 1.103 GB, free: 8.215 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0005784/0.902, allocations: 139 kB / 1.103 GB, free: 8.078 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.00176/0.9038, allocations: 424.4 kB / 1.103 GB, free: 7.664 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002075/0.9059, allocations: 0.7183 MB / 1.104 GB, free: 6.953 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001577/0.9075, allocations: 1.195 MB / 1.105 GB, free: 5.754 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009355/0.9085, allocations: 0.5919 MB / 1.106 GB, free: 5.137 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006153/0.9091, allocations: 330.3 kB / 1.106 GB, free: 4.812 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004937/0.9096, allocations: 377.8 kB / 1.106 GB, free: 4.441 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 7.759e-05/0.9097, allocations: 24 kB / 1.106 GB, free: 4.418 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008915/0.9106, allocations: 363.7 kB / 1.107 GB, free: 4.062 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002169/0.9108, allocations: 191.1 kB / 1.107 GB, free: 3.875 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0004228/0.9112, allocations: 454.9 kB / 1.107 GB, free: 3.422 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001392/0.9126, allocations: 1.142 MB / 1.109 GB, free: 2.277 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.788e-06/0.9126, allocations: 0 / 1.109 GB, free: 2.277 MB / 0.8575 GB Notification: Performance of FrontEnd: time 4.879e-06/0.9127, allocations: 0 / 1.109 GB, free: 2.277 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.514e-05/0.9127, allocations: 3.938 kB / 1.109 GB, free: 2.273 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: 211 * Number of variables: 211 Notification: Performance of Generate backend data structure: time 0.002355/0.915, allocations: 1.204 MB / 1.11 GB, free: 1.023 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.237e-05/0.9151, allocations: 12.03 kB / 1.11 GB, free: 1.012 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009121/0.916, allocations: 195.4 kB / 1.11 GB, free: 0.8203 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001124/0.9171, allocations: 0.7344 MB / 1.111 GB, free: 40 kB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.401e-05/0.9172, allocations: 62.08 kB / 1.111 GB, free: 15.98 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001097/0.9174, allocations: 83.94 kB / 1.111 GB, free: 15.89 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001593/0.919, allocations: 0.9183 MB / 1.112 GB, free: 14.93 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.967e-05/0.919, allocations: 4 kB / 1.112 GB, free: 14.93 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.908e-05/0.9191, allocations: 36 kB / 1.112 GB, free: 14.89 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.118e-05/0.9191, allocations: 20 kB / 1.112 GB, free: 14.88 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001796/0.9209, allocations: 1.116 MB / 1.113 GB, free: 13.76 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004237/0.9252, allocations: 2.522 MB / 1.115 GB, free: 11.17 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001586/0.9268, allocations: 0.8058 MB / 1.116 GB, free: 10.36 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005514/0.9273, allocations: 310.5 kB / 1.116 GB, free: 10.05 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 7.941e-05/0.9274, allocations: 28.7 kB / 1.116 GB, free: 10.02 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009874/0.9284, allocations: 0.4952 MB / 1.117 GB, free: 9.504 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=80): time 2.454e-06/0.9284, allocations: 3.938 kB / 1.117 GB, free: 9.5 MB / 0.8731 GB Notification: Performance of matching and sorting (n=80): time 0.003231/0.9317, allocations: 1.194 MB / 1.118 GB, free: 8.281 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001171/0.9318, allocations: 192.6 kB / 1.118 GB, free: 8.051 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008658/0.9327, allocations: 0.6253 MB / 1.119 GB, free: 7.422 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0001262/0.9328, allocations: 45.7 kB / 1.119 GB, free: 7.371 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003769/0.9332, allocations: 392.3 kB / 1.119 GB, free: 6.98 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.000232/0.9335, allocations: 264.3 kB / 1.12 GB, free: 6.719 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001044/0.9336, allocations: 69.62 kB / 1.12 GB, free: 6.645 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001699/0.9337, allocations: 386.7 kB / 1.12 GB, free: 6.258 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005467/0.9343, allocations: 277.8 kB / 1.12 GB, free: 5.984 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000693/0.935, allocations: 367.1 kB / 1.121 GB, free: 5.613 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001093/0.9361, allocations: 0.6111 MB / 1.121 GB, free: 4.992 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.579e-06/0.9361, allocations: 0 / 1.121 GB, free: 4.992 MB / 0.8731 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001987/0.9381, allocations: 0.8567 MB / 1.122 GB, free: 4.121 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.235e-05/0.9382, allocations: 4 kB / 1.122 GB, free: 4.117 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.9382, allocations: 0 / 1.122 GB, free: 4.117 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005967/0.9388, allocations: 84.78 kB / 1.122 GB, free: 4.031 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006644/0.9394, allocations: 167.7 kB / 1.122 GB, free: 3.867 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002121/0.9416, allocations: 1.52 MB / 1.124 GB, free: 2.207 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008002/0.9424, allocations: 102.9 kB / 1.124 GB, free: 2.109 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.935e-05/0.9425, allocations: 39.91 kB / 1.124 GB, free: 2.07 MB / 0.8731 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 (95): * Single equations (assignments): 94 * 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.0005114/0.943, allocations: 273.5 kB / 1.124 GB, free: 1.797 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001397/0.9432, allocations: 86.91 kB / 1.124 GB, free: 1.711 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002357/0.9455, allocations: 1.066 MB / 1.125 GB, free: 0.6289 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.117e-06/0.9455, allocations: 8 kB / 1.125 GB, free: 0.6211 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.9455, allocations: 4 kB / 1.125 GB, free: 0.6172 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.079e-05/0.9456, allocations: 7.969 kB / 1.125 GB, free: 0.6094 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001094/0.9467, allocations: 0.8917 MB / 1.126 GB, free: 15.67 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.701e-06/0.9467, allocations: 3.984 kB / 1.126 GB, free: 15.66 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005715/0.9473, allocations: 143.8 kB / 1.126 GB, free: 15.52 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005258/0.9478, allocations: 80.78 kB / 1.126 GB, free: 15.44 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.425e-05/0.9479, allocations: 23.98 kB / 1.126 GB, free: 15.42 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001893/0.9498, allocations: 1.552 MB / 1.128 GB, free: 13.73 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.397e-06/0.9498, allocations: 3.938 kB / 1.128 GB, free: 13.72 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001997/0.9518, allocations: 0.9278 MB / 1.129 GB, free: 12.77 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004382/0.9522, allocations: 287.7 kB / 1.129 GB, free: 12.47 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001501/0.9524, allocations: 16 kB / 1.129 GB, free: 12.46 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007108/0.9532, allocations: 79.92 kB / 1.129 GB, free: 12.38 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001758/0.9534, allocations: 72.89 kB / 1.129 GB, free: 12.3 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.201e-05/0.9534, allocations: 35.98 kB / 1.129 GB, free: 12.27 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0006841/0.9541, allocations: 459 kB / 1.13 GB, free: 11.83 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9541, allocations: 0 / 1.13 GB, free: 11.83 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0009212/0.9551, allocations: 311.2 kB / 1.13 GB, free: 11.52 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 (91): * Single equations (assignments): 85 * 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.001481/0.9566, allocations: 0.6036 MB / 1.131 GB, free: 11.09 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.001804/0.9584, allocations: 0.8351 MB / 1.131 GB, free: 10.25 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 3.957e-06/0.9584, allocations: 0 / 1.131 GB, free: 10.25 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0009495/0.9594, allocations: 0.516 MB / 1.132 GB, free: 9.723 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001403/0.9608, allocations: 273.9 kB / 1.132 GB, free: 9.461 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004613/0.9654, allocations: 2.251 MB / 1.134 GB, free: 7.168 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006926/0.9661, allocations: 1.022 MB / 1.135 GB, free: 6.121 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003768/0.9665, allocations: 115.4 kB / 1.135 GB, free: 6.008 MB / 0.8887 GB Notification: Performance of SimCode: time 1.041e-06/0.9665, allocations: 0 / 1.135 GB, free: 6.008 MB / 0.8887 GB Notification: Performance of Templates: time 0.02809/0.9946, allocations: 18.11 MB / 1.153 GB, free: 3.934 MB / 0.9044 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,HDifTilIso.HSkyDifTil,HDifTilIso.HGroDifTil Variables in the result:HDifTilIso.HGroDifTil,HDifTilIso.HSkyDifTil,time