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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.005227/0.005227, allocations: 102.2 kB / 15.73 MB, free: 6.469 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.001332/0.001332, allocations: 193.9 kB / 16.67 MB, free: 6.379 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.391/1.391, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.485/2.485, allocations: 390.2 MB / 0.6648 GB, free: 192 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001293/0.001293, allocations: 62.62 kB / 0.9508 GB, free: 5.5 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3084/0.3097, allocations: 140.4 MB / 1.088 GB, free: 1.531 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic): time 0.007414/0.3172, allocations: 4.349 MB / 1.092 GB, free: 13.16 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.1733/0.4905, allocations: 150.6 MB / 1.239 GB, free: 6.016 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009849/0.4916, allocations: 15.94 kB / 1.239 GB, free: 6 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0008718/0.4924, allocations: 170.4 kB / 1.239 GB, free: 5.832 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.002583/0.4951, allocations: 0.5027 MB / 1.24 GB, free: 5.332 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002632/0.4978, allocations: 0.8246 MB / 1.241 GB, free: 4.512 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.002115/0.4999, allocations: 1.289 MB / 1.242 GB, free: 3.215 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001479/0.5014, allocations: 0.614 MB / 1.243 GB, free: 2.578 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001178/0.5026, allocations: 474.4 kB / 1.243 GB, free: 2.113 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009298/0.5035, allocations: 497.8 kB / 1.243 GB, free: 1.625 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003435/0.5039, allocations: 116 kB / 1.244 GB, free: 1.512 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001348/0.5052, allocations: 479.6 kB / 1.244 GB, free: 1.043 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.000439/0.5057, allocations: 299 kB / 1.244 GB, free: 0.75 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0009141/0.5066, allocations: 0.5401 MB / 1.245 GB, free: 212 kB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.002722/0.5093, allocations: 1.585 MB / 1.246 GB, free: 14.62 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.129e-06/0.5094, allocations: 3.938 kB / 1.246 GB, free: 14.61 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.104e-06/0.5094, allocations: 0 / 1.246 GB, free: 14.61 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.883e-05/0.5095, allocations: 4 kB / 1.246 GB, free: 14.61 MB / 1.014 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.003393/0.5129, allocations: 1.411 MB / 1.248 GB, free: 13.15 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.378e-05/0.5129, allocations: 11.97 kB / 1.248 GB, free: 13.14 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001079/0.514, allocations: 187.4 kB / 1.248 GB, free: 12.95 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001447/0.5155, allocations: 0.7578 MB / 1.249 GB, free: 12.16 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.775e-05/0.5155, allocations: 66 kB / 1.249 GB, free: 12.09 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001413/0.5157, allocations: 79.98 kB / 1.249 GB, free: 12.01 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001807/0.5175, allocations: 0.9144 MB / 1.25 GB, free: 11.06 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.037e-05/0.5175, allocations: 0 / 1.25 GB, free: 11.06 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.969e-05/0.5176, allocations: 39.94 kB / 1.25 GB, free: 11.02 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.871e-05/0.5177, allocations: 24 kB / 1.25 GB, free: 11 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00182/0.5195, allocations: 1.1 MB / 1.251 GB, free: 9.891 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004164/0.5237, allocations: 2.46 MB / 1.253 GB, free: 7.367 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001459/0.5251, allocations: 0.7901 MB / 1.254 GB, free: 6.574 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005231/0.5257, allocations: 302.6 kB / 1.254 GB, free: 6.277 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 7.629e-05/0.5258, allocations: 32.67 kB / 1.254 GB, free: 6.246 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009089/0.5267, allocations: 495 kB / 1.255 GB, free: 5.742 MB / 1.014 GB Notification: Performance of pre-optimization done (n=80): time 2.745e-06/0.5267, allocations: 0 / 1.255 GB, free: 5.742 MB / 1.014 GB Notification: Performance of matching and sorting (n=80): time 0.003209/0.5299, allocations: 1.182 MB / 1.256 GB, free: 4.531 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000101/0.53, allocations: 188.6 kB / 1.256 GB, free: 4.305 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009044/0.5309, allocations: 0.637 MB / 1.257 GB, free: 3.66 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 8.068e-05/0.531, allocations: 41.7 kB / 1.257 GB, free: 3.613 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003324/0.5314, allocations: 396.3 kB / 1.257 GB, free: 3.219 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002123/0.5316, allocations: 256.3 kB / 1.257 GB, free: 2.965 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002509/0.5319, allocations: 166.5 kB / 1.258 GB, free: 2.793 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001803/0.532, allocations: 386.7 kB / 1.258 GB, free: 2.406 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005168/0.5326, allocations: 269.8 kB / 1.258 GB, free: 2.145 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006138/0.5332, allocations: 359.1 kB / 1.259 GB, free: 1.777 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001087/0.5343, allocations: 0.6072 MB / 1.259 GB, free: 1.156 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.618e-06/0.5343, allocations: 0 / 1.259 GB, free: 1.156 MB / 1.014 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001987/0.5363, allocations: 0.841 MB / 1.26 GB, free: 316 kB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.5363, allocations: 4 kB / 1.26 GB, free: 312 kB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.123e-05/0.5363, allocations: 4 kB / 1.26 GB, free: 308 kB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006054/0.537, allocations: 92.75 kB / 1.26 GB, free: 212 kB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006818/0.5376, allocations: 163.7 kB / 1.26 GB, free: 48 kB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.6522/1.19, allocations: 1.619 MB / 1.262 GB, free: 172.3 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001005/1.191, allocations: 92.72 kB / 1.262 GB, free: 172.3 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.343e-05/1.191, allocations: 36.97 kB / 1.262 GB, free: 172.3 MB / 1.014 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.0005204/1.191, allocations: 269.2 kB / 1.262 GB, free: 172.2 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001834/1.192, allocations: 81.31 kB / 1.262 GB, free: 172.2 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002643/1.194, allocations: 1.063 MB / 1.263 GB, free: 172.1 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.132e-05/1.194, allocations: 10.09 kB / 1.263 GB, free: 172.1 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/1.194, allocations: 0.875 kB / 1.263 GB, free: 172.1 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.241e-05/1.194, allocations: 6.219 kB / 1.263 GB, free: 172.1 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001274/1.196, allocations: 0.8906 MB / 1.264 GB, free: 171.9 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.519e-06/1.196, allocations: 0 / 1.264 GB, free: 171.9 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006215/1.196, allocations: 142 kB / 1.264 GB, free: 171.9 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004947/1.197, allocations: 76.48 kB / 1.264 GB, free: 171.9 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.734e-05/1.197, allocations: 30.61 kB / 1.264 GB, free: 171.9 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001753/1.199, allocations: 1.655 MB / 1.266 GB, free: 170.4 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/1.199, allocations: 0.5625 kB / 1.266 GB, free: 170.4 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002127/1.201, allocations: 0.9251 MB / 1.267 GB, free: 170.1 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003728/1.201, allocations: 270.9 kB / 1.267 GB, free: 169.9 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001204/1.201, allocations: 18.03 kB / 1.267 GB, free: 169.9 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000649/1.202, allocations: 67.8 kB / 1.267 GB, free: 169.9 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001778/1.202, allocations: 71.75 kB / 1.267 GB, free: 169.9 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.127e-05/1.202, allocations: 32.84 kB / 1.267 GB, free: 169.8 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0006922/1.203, allocations: 455.6 kB / 1.268 GB, free: 169.6 MB / 1.014 GB Notification: Performance of sort global known variables: time 3.51e-07/1.203, allocations: 1.031 kB / 1.268 GB, free: 169.6 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0009613/1.204, allocations: 306.3 kB / 1.268 GB, free: 169.6 MB / 1.014 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.001402/1.205, allocations: 0.6053 MB / 1.269 GB, free: 169.4 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001891/1.207, allocations: 0.8293 MB / 1.27 GB, free: 169.1 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 4.589e-06/1.207, allocations: 0 / 1.27 GB, free: 169.1 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0009574/1.208, allocations: 0.5101 MB / 1.27 GB, free: 168.8 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001147/1.209, allocations: 298.7 kB / 1.27 GB, free: 168.7 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004025/1.213, allocations: 1.735 MB / 1.272 GB, free: 167.9 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007313/1.214, allocations: 1.022 MB / 1.273 GB, free: 167.2 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.00107/1.215, allocations: 262.4 kB / 1.273 GB, free: 167.1 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003545/1.216, allocations: 107.9 kB / 1.273 GB, free: 167.1 MB / 1.014 GB Notification: Performance of SimCode: time 9.41e-07/1.216, allocations: 2.516 kB / 1.273 GB, free: 167.1 MB / 1.014 GB Notification: Performance of Templates: time 0.03243/1.248, allocations: 15.05 MB / 1.288 GB, free: 164.1 MB / 1.014 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/jenkins/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