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.0015/0.0015, allocations: 103.9 kB / 16.35 MB, free: 5.875 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.001681/0.00168, allocations: 195.5 kB / 17.29 MB, free: 5.516 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.461/1.461, allocations: 222.9 MB / 241 MB, free: 14.97 MB / 206.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.264/2.264, allocations: 390.3 MB / 0.6655 GB, free: 0.5781 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001949/0.001949, allocations: 61.47 kB / 0.814 GB, free: 32.47 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3418/0.3438, allocations: 140.4 MB / 0.9511 GB, free: 8.07 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic): time 0.00745/0.3513, allocations: 4.364 MB / 0.9554 GB, free: 3.691 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.7945/1.146, allocations: 150.5 MB / 1.102 GB, free: 4.555 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009028/1.147, allocations: 16 kB / 1.102 GB, free: 4.555 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0005825/1.147, allocations: 171.9 kB / 1.103 GB, free: 4.555 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001929/1.149, allocations: 0.503 MB / 1.103 GB, free: 4.543 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002455/1.152, allocations: 0.8188 MB / 1.104 GB, free: 4.539 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.002124/1.154, allocations: 1.295 MB / 1.105 GB, free: 4.484 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001118/1.155, allocations: 0.6139 MB / 1.106 GB, free: 4.355 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001035/1.156, allocations: 471.3 kB / 1.106 GB, free: 4.34 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007063/1.157, allocations: 498.1 kB / 1.107 GB, free: 4.332 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001995/1.157, allocations: 115.2 kB / 1.107 GB, free: 4.332 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00114/1.158, allocations: 479.2 kB / 1.107 GB, free: 4.328 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0003106/1.159, allocations: 294.7 kB / 1.107 GB, free: 4.324 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0006353/1.159, allocations: 0.5453 MB / 1.108 GB, free: 4.312 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.002612/1.162, allocations: 1.589 MB / 1.11 GB, free: 4.207 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/1.162, allocations: 0.7031 kB / 1.11 GB, free: 4.207 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.773e-06/1.162, allocations: 0 / 1.11 GB, free: 4.207 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 2.614e-05/1.162, allocations: 1.094 kB / 1.11 GB, free: 4.207 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.003468/1.165, allocations: 1.41 MB / 1.111 GB, free: 19.43 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.062e-05/1.165, allocations: 10.7 kB / 1.111 GB, free: 19.43 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009519/1.166, allocations: 182.5 kB / 1.111 GB, free: 19.38 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001312/1.168, allocations: 0.7643 MB / 1.112 GB, free: 19.04 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.627e-05/1.168, allocations: 64.03 kB / 1.112 GB, free: 19.03 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001249/1.168, allocations: 83.92 kB / 1.112 GB, free: 19.03 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001778/1.17, allocations: 0.9149 MB / 1.113 GB, free: 18.88 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.107e-05/1.17, allocations: 1.312 kB / 1.113 GB, free: 18.88 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.718e-05/1.17, allocations: 36.2 kB / 1.113 GB, free: 18.88 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.885e-05/1.17, allocations: 21.45 kB / 1.113 GB, free: 18.88 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001861/1.172, allocations: 1.106 MB / 1.114 GB, free: 18.86 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004268/1.176, allocations: 2.442 MB / 1.116 GB, free: 18.07 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001424/1.177, allocations: 0.7975 MB / 1.117 GB, free: 18.02 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004889/1.178, allocations: 305.3 kB / 1.118 GB, free: 18 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 8.056e-05/1.178, allocations: 29.12 kB / 1.118 GB, free: 18 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008225/1.179, allocations: 496.4 kB / 1.118 GB, free: 17.93 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=80): time 2.445e-06/1.179, allocations: 1.094 kB / 1.118 GB, free: 17.93 MB / 0.8731 GB Notification: Performance of matching and sorting (n=80): time 0.003101/1.182, allocations: 1.186 MB / 1.119 GB, free: 17.72 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000114/1.182, allocations: 193.7 kB / 1.119 GB, free: 17.5 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009128/1.183, allocations: 0.6348 MB / 1.12 GB, free: 17.37 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 8.383e-05/1.183, allocations: 40.8 kB / 1.12 GB, free: 17.34 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003248/1.183, allocations: 394.2 kB / 1.12 GB, free: 17.16 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001871/1.184, allocations: 263.1 kB / 1.121 GB, free: 16.99 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002634/1.184, allocations: 164 kB / 1.121 GB, free: 16.97 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001899/1.184, allocations: 387.9 kB / 1.121 GB, free: 16.66 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005208/1.185, allocations: 266.3 kB / 1.121 GB, free: 16.65 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006405/1.185, allocations: 364.8 kB / 1.122 GB, free: 16.6 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001112/1.186, allocations: 0.6039 MB / 1.122 GB, free: 16.54 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.918e-06/1.186, allocations: 0 / 1.122 GB, free: 16.54 MB / 0.8731 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.002205/1.189, allocations: 0.8448 MB / 1.123 GB, free: 16.43 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.175e-05/1.189, allocations: 5.188 kB / 1.123 GB, free: 16.43 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.819e-06/1.189, allocations: 3.219 kB / 1.123 GB, free: 16.43 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006235/1.189, allocations: 85.72 kB / 1.123 GB, free: 16.42 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006604/1.19, allocations: 162.4 kB / 1.123 GB, free: 16.41 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002128/1.192, allocations: 1.627 MB / 1.125 GB, free: 15.01 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007669/1.193, allocations: 93.97 kB / 1.125 GB, free: 14.98 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.249e-05/1.193, allocations: 39.31 kB / 1.125 GB, free: 14.98 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.0004801/1.194, allocations: 268.9 kB / 1.125 GB, free: 14.85 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001587/1.194, allocations: 82.97 kB / 1.125 GB, free: 14.8 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002214/1.196, allocations: 1.053 MB / 1.127 GB, free: 14.7 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.047e-06/1.196, allocations: 8.906 kB / 1.127 GB, free: 14.7 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.816e-06/1.196, allocations: 0 / 1.127 GB, free: 14.7 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.189e-05/1.196, allocations: 10.08 kB / 1.127 GB, free: 14.69 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001085/1.197, allocations: 0.8824 MB / 1.127 GB, free: 14.47 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.379e-06/1.197, allocations: 1.219 kB / 1.127 GB, free: 14.47 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005725/1.198, allocations: 145 kB / 1.128 GB, free: 14.46 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004329/1.198, allocations: 80.34 kB / 1.128 GB, free: 14.45 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.983e-05/1.198, allocations: 26.28 kB / 1.128 GB, free: 14.45 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001883/1.2, allocations: 1.658 MB / 1.129 GB, free: 13.05 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/1.2, allocations: 5.344 kB / 1.129 GB, free: 13.04 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002036/1.202, allocations: 0.9189 MB / 1.13 GB, free: 12.89 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004239/1.203, allocations: 269.7 kB / 1.13 GB, free: 12.74 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001248/1.203, allocations: 18.69 kB / 1.13 GB, free: 12.74 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005579/1.203, allocations: 72.02 kB / 1.13 GB, free: 12.73 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001541/1.203, allocations: 65.84 kB / 1.131 GB, free: 12.73 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.199e-05/1.203, allocations: 36.38 kB / 1.131 GB, free: 12.73 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0005923/1.204, allocations: 453.4 kB / 1.131 GB, free: 12.64 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.6e-07/1.204, allocations: 1.406 kB / 1.131 GB, free: 12.64 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.001027/1.205, allocations: 315.8 kB / 1.131 GB, free: 12.58 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 (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.001329/1.206, allocations: 0.6163 MB / 1.132 GB, free: 12.35 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001717/1.208, allocations: 0.8278 MB / 1.133 GB, free: 12.21 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/1.208, allocations: 0 / 1.133 GB, free: 12.21 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0008652/1.209, allocations: 0.5165 MB / 1.133 GB, free: 12.07 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001173/1.21, allocations: 289 kB / 1.134 GB, free: 12.04 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003642/1.214, allocations: 1.724 MB / 1.135 GB, free: 11.42 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000607/1.215, allocations: 1.025 MB / 1.136 GB, free: 10.7 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0008216/1.215, allocations: 257.7 kB / 1.136 GB, free: 10.62 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000247/1.216, allocations: 107 kB / 1.137 GB, free: 10.61 MB / 0.8731 GB Notification: Performance of SimCode: time 1.302e-06/1.216, allocations: 0 / 1.137 GB, free: 10.61 MB / 0.8731 GB Notification: Performance of Templates: time 0.02728/1.243, allocations: 14.62 MB / 1.151 GB, free: 6.699 MB / 0.8731 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 -s cvode -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) Reference file matches