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.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: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008321/0.008322, allocations: 102.1 kB / 15.73 MB, free: 6.492 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.001994/0.001994, allocations: 196.4 kB / 16.68 MB, free: 6.375 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.381/1.381, allocations: 222.9 MB / 240.4 MB, free: 4.316 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.374/2.374, allocations: 390.2 MB / 0.6648 GB, free: 180 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001397/0.001397, allocations: 59.09 kB / 0.9504 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2529/0.2543, allocations: 140.4 MB / 1.087 GB, free: 2.008 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic): time 0.006142/0.2605, allocations: 4.743 MB / 1.092 GB, free: 13.24 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.1466/0.4072, allocations: 150.7 MB / 1.239 GB, free: 5.949 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008302/0.408, allocations: 19.94 kB / 1.239 GB, free: 5.93 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0007365/0.4088, allocations: 198.1 kB / 1.239 GB, free: 5.734 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.002023/0.4109, allocations: 0.5379 MB / 1.24 GB, free: 5.199 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00217/0.4131, allocations: 0.864 MB / 1.241 GB, free: 4.34 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001735/0.4148, allocations: 1.441 MB / 1.242 GB, free: 2.895 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001326/0.4162, allocations: 0.9196 MB / 1.243 GB, free: 1.934 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009/0.4171, allocations: 0.5916 MB / 1.244 GB, free: 1.34 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008418/0.4179, allocations: 0.6261 MB / 1.244 GB, free: 0.7109 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.000331/0.4183, allocations: 152 kB / 1.244 GB, free: 0.5625 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001074/0.4194, allocations: 0.5152 MB / 1.245 GB, free: 48 kB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004693/0.4199, allocations: 370.8 kB / 1.245 GB, free: 15.68 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0008274/0.4207, allocations: 0.6956 MB / 1.246 GB, free: 14.98 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.002408/0.4231, allocations: 1.975 MB / 1.248 GB, free: 13 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.167e-06/0.4231, allocations: 0 / 1.248 GB, free: 13 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.513e-06/0.4231, allocations: 0 / 1.248 GB, free: 13 MB / 1.014 GB Notification: Performance of Transformations before backend: time 4.988e-05/0.4232, allocations: 4 kB / 1.248 GB, free: 13 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: 305 * Number of variables: 305 Notification: Performance of Generate backend data structure: time 0.00347/0.4267, allocations: 1.678 MB / 1.25 GB, free: 11.27 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.863e-05/0.4267, allocations: 8.031 kB / 1.25 GB, free: 11.26 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003019/0.427, allocations: 181.8 kB / 1.25 GB, free: 11.07 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001112/0.4282, allocations: 226.9 kB / 1.25 GB, free: 10.85 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001486/0.4297, allocations: 0.8675 MB / 1.251 GB, free: 9.938 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.239e-05/0.4298, allocations: 90.41 kB / 1.251 GB, free: 9.848 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001689/0.4299, allocations: 120 kB / 1.251 GB, free: 9.73 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002168/0.4321, allocations: 1.202 MB / 1.252 GB, free: 8.465 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.604e-05/0.4322, allocations: 0 / 1.252 GB, free: 8.465 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001095/0.4323, allocations: 52 kB / 1.252 GB, free: 8.414 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.549e-05/0.4323, allocations: 32 kB / 1.252 GB, free: 8.383 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002132/0.4344, allocations: 1.289 MB / 1.254 GB, free: 7.086 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00519/0.4397, allocations: 3.117 MB / 1.257 GB, free: 3.891 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001659/0.4413, allocations: 0.8602 MB / 1.257 GB, free: 3.027 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005763/0.442, allocations: 322.7 kB / 1.258 GB, free: 2.707 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 8.902e-05/0.4421, allocations: 32.59 kB / 1.258 GB, free: 2.676 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008968/0.443, allocations: 0.5197 MB / 1.258 GB, free: 2.137 MB / 1.014 GB Notification: Performance of pre-optimization done (n=87): time 2.926e-06/0.443, allocations: 0 / 1.258 GB, free: 2.137 MB / 1.014 GB Notification: Performance of matching and sorting (n=87): time 0.003294/0.4463, allocations: 1.278 MB / 1.259 GB, free: 0.8359 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.435e-05/0.4464, allocations: 196.9 kB / 1.26 GB, free: 0.5977 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.515/0.9614, allocations: 0.7306 MB / 1.26 GB, free: 173.6 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0002009/0.9617, allocations: 41.08 kB / 1.26 GB, free: 173.6 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004708/0.9622, allocations: 0.52 MB / 1.261 GB, free: 173.5 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003022/0.9625, allocations: 281.7 kB / 1.261 GB, free: 173.3 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003012/0.9628, allocations: 160.5 kB / 1.261 GB, free: 173.3 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 7.499e-05/0.9629, allocations: 340 kB / 1.262 GB, free: 173 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006281/0.9635, allocations: 265.8 kB / 1.262 GB, free: 173 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007454/0.9643, allocations: 384.3 kB / 1.262 GB, free: 172.9 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001221/0.9655, allocations: 0.6331 MB / 1.263 GB, free: 172.8 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.29e-06/0.9655, allocations: 0 / 1.263 GB, free: 172.8 MB / 1.014 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002186/0.9677, allocations: 0.8701 MB / 1.264 GB, free: 172.5 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.479e-05/0.9678, allocations: 9.344 kB / 1.264 GB, free: 172.5 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.756e-06/0.9678, allocations: 1.062 kB / 1.264 GB, free: 172.5 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006163/0.9684, allocations: 85.33 kB / 1.264 GB, free: 172.5 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007579/0.9692, allocations: 164.2 kB / 1.264 GB, free: 172.5 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00183/0.971, allocations: 1.628 MB / 1.266 GB, free: 171 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007964/0.9718, allocations: 100.1 kB / 1.266 GB, free: 170.9 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.337e-05/0.9719, allocations: 34.33 kB / 1.266 GB, free: 170.9 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: 15 (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 (96): * Single equations (assignments): 95 * 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.0005069/0.9724, allocations: 294 kB / 1.266 GB, free: 170.7 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002078/0.9727, allocations: 93.05 kB / 1.266 GB, free: 170.7 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002552/0.9752, allocations: 1.129 MB / 1.267 GB, free: 170.2 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.332e-05/0.9752, allocations: 9.594 kB / 1.267 GB, free: 170.2 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.9753, allocations: 1.547 kB / 1.267 GB, free: 170.2 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.499e-05/0.9753, allocations: 4.969 kB / 1.267 GB, free: 170.2 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001421/0.9767, allocations: 1.05 MB / 1.268 GB, free: 169.7 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.771e-06/0.9767, allocations: 3.875 kB / 1.268 GB, free: 169.7 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006905/0.9774, allocations: 159.7 kB / 1.268 GB, free: 169.7 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004562/0.9779, allocations: 69.3 kB / 1.268 GB, free: 169.7 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.376e-05/0.978, allocations: 26.61 kB / 1.269 GB, free: 169.7 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001625/0.9796, allocations: 1.658 MB / 1.27 GB, free: 168.1 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.644e-06/0.9796, allocations: 0.875 kB / 1.27 GB, free: 168.1 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002314/0.9819, allocations: 0.9878 MB / 1.271 GB, free: 167.7 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005364/0.9825, allocations: 285.1 kB / 1.271 GB, free: 167.5 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001622/0.9827, allocations: 30.45 kB / 1.271 GB, free: 167.5 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006574/0.9833, allocations: 70.72 kB / 1.271 GB, free: 167.5 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002271/0.9836, allocations: 74.23 kB / 1.272 GB, free: 167.5 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.868e-05/0.9837, allocations: 36.67 kB / 1.272 GB, free: 167.4 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.000859/0.9845, allocations: 0.5163 MB / 1.272 GB, free: 167.2 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.1e-07/0.9846, allocations: 0 / 1.272 GB, free: 167.2 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001244/0.9858, allocations: 357 kB / 1.272 GB, free: 167.1 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 (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.004124/0.9899, allocations: 2.035 MB / 1.274 GB, free: 166.1 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.002106/0.9921, allocations: 0.8581 MB / 1.275 GB, free: 165.7 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 5.29e-06/0.9921, allocations: 0 / 1.275 GB, free: 165.7 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.001073/0.9932, allocations: 0.5462 MB / 1.276 GB, free: 165.5 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001373/0.9946, allocations: 303.1 kB / 1.276 GB, free: 165.4 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01359/1.008, allocations: 7.14 MB / 1.283 GB, free: 161.9 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006818/1.009, allocations: 1.107 MB / 1.284 GB, free: 161.2 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001016/1.01, allocations: 268.9 kB / 1.284 GB, free: 161.1 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006083/1.011, allocations: 487.1 kB / 1.285 GB, free: 160.8 MB / 1.014 GB Notification: Performance of SimCode: time 1.052e-06/1.011, allocations: 3.938 kB / 1.285 GB, free: 160.8 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05456/1.065, allocations: 23.33 MB / 1.308 GB, free: 152.6 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.78/13.85, allocations: 8.547 kB / 1.308 GB, free: 152.6 MB / 1.014 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic_res.mat --tempDir=temp_Buildings_9_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic_fmu --startTime=1.82304e+07 --stopTime=1.83168e+07 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic.fmu > 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