Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001779/0.001779, allocations: 103.6 kB / 18.95 MB, free: 2.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002702/0.002702, allocations: 215.7 kB / 22.25 MB, free: 5.258 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.482/1.482, allocations: 230.6 MB / 256 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.133/3.133, allocations: 0.49 GB / 0.7951 GB, free: 35.48 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic,fileNamePrefix="Buildings_12_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic,fileNamePrefix="Buildings_12_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002061/0.002061, allocations: 67.22 kB / 1.154 GB, free: 25.5 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3597/0.3618, allocations: 176.1 MB / 1.326 GB, free: 1.477 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic): time 0.006741/0.3685, allocations: 4.425 MB / 1.33 GB, free: 13.03 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1762/0.5447, allocations: 132.7 MB / 1.46 GB, free: 7.848 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009489/0.5457, allocations: 23.81 kB / 1.46 GB, free: 7.824 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0008726/0.5465, allocations: 198.2 kB / 1.46 GB, free: 7.629 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.002282/0.5488, allocations: 0.5664 MB / 1.46 GB, free: 7.062 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.002344/0.5512, allocations: 0.861 MB / 1.461 GB, free: 6.207 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.002037/0.5532, allocations: 1.394 MB / 1.463 GB, free: 4.809 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001012/0.5542, allocations: 414.6 kB / 1.463 GB, free: 4.379 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009367/0.5552, allocations: 0.5061 MB / 1.464 GB, free: 3.871 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006877/0.5558, allocations: 0.5018 MB / 1.464 GB, free: 3.367 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0001592/0.556, allocations: 116 kB / 1.464 GB, free: 3.254 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001058/0.5571, allocations: 0.4918 MB / 1.465 GB, free: 2.762 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.000311/0.5574, allocations: 311 kB / 1.465 GB, free: 2.457 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0004817/0.5578, allocations: 461.8 kB / 1.465 GB, free: 2.004 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.002142/0.56, allocations: 1.685 MB / 1.467 GB, free: 320 kB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 7.263e-06/0.56, allocations: 0 / 1.467 GB, free: 320 kB / 1.154 GB Notification: Performance of FrontEnd: time 1.984e-06/0.56, allocations: 7.938 kB / 1.467 GB, free: 312 kB / 1.154 GB Notification: Performance of Transformations before backend: time 2.686e-05/0.56, allocations: 0 / 1.467 GB, free: 312 kB / 1.154 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.003696/0.5637, allocations: 1.411 MB / 1.468 GB, free: 14.86 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.947e-05/0.5638, allocations: 12.02 kB / 1.468 GB, free: 14.85 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001778/0.564, allocations: 131.4 kB / 1.469 GB, free: 14.71 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001543/0.5655, allocations: 232 kB / 1.469 GB, free: 14.48 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001403/0.5669, allocations: 0.718 MB / 1.469 GB, free: 13.74 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.078e-05/0.567, allocations: 62 kB / 1.47 GB, free: 13.68 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001239/0.5671, allocations: 80 kB / 1.47 GB, free: 13.6 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001788/0.5689, allocations: 1.169 MB / 1.471 GB, free: 12.33 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.386e-05/0.5689, allocations: 3.938 kB / 1.471 GB, free: 12.32 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.876e-05/0.569, allocations: 36 kB / 1.471 GB, free: 12.29 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.02e-05/0.569, allocations: 20 kB / 1.471 GB, free: 12.27 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001828/0.5708, allocations: 1.065 MB / 1.472 GB, free: 11.2 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004234/0.5751, allocations: 2.208 MB / 1.474 GB, free: 8.93 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001483/0.5765, allocations: 0.76 MB / 1.475 GB, free: 8.16 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005293/0.5771, allocations: 270.7 kB / 1.475 GB, free: 7.895 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 7.89e-05/0.5772, allocations: 24.64 kB / 1.475 GB, free: 7.871 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009866/0.5781, allocations: 0.5878 MB / 1.476 GB, free: 7.238 MB / 1.17 GB Notification: Performance of pre-optimization done (n=80): time 2.846e-06/0.5781, allocations: 0 / 1.476 GB, free: 7.238 MB / 1.17 GB Notification: Performance of matching and sorting (n=80): time 0.003328/0.5815, allocations: 1.123 MB / 1.477 GB, free: 6.105 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001349/0.5816, allocations: 196.6 kB / 1.477 GB, free: 5.871 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001013/0.5826, allocations: 0.649 MB / 1.478 GB, free: 5.215 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 8.414e-05/0.5827, allocations: 37.7 kB / 1.478 GB, free: 5.172 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003682/0.5831, allocations: 413 kB / 1.478 GB, free: 4.762 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002488/0.5833, allocations: 265.8 kB / 1.478 GB, free: 4.5 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002394/0.5836, allocations: 154.6 kB / 1.478 GB, free: 4.344 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001992/0.5838, allocations: 390.7 kB / 1.479 GB, free: 3.953 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004878/0.5842, allocations: 249.8 kB / 1.479 GB, free: 3.707 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000674/0.5849, allocations: 495 kB / 1.479 GB, free: 3.168 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001094/0.586, allocations: 0.5799 MB / 1.48 GB, free: 2.578 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.481e-06/0.586, allocations: 4 kB / 1.48 GB, free: 2.574 MB / 1.17 GB Notification: Performance of matching and sorting (n=89) (initialization): time 0.002036/0.5881, allocations: 0.8024 MB / 1.481 GB, free: 1.758 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.167e-05/0.5881, allocations: 4 kB / 1.481 GB, free: 1.754 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.066e-05/0.5881, allocations: 4.094 kB / 1.481 GB, free: 1.75 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006684/0.5888, allocations: 88.77 kB / 1.481 GB, free: 1.66 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006593/0.5894, allocations: 155.7 kB / 1.481 GB, free: 1.508 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002318/0.5917, allocations: 1.519 MB / 1.483 GB, free: 15.87 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008134/0.5925, allocations: 91.53 kB / 1.483 GB, free: 15.78 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.049e-05/0.5926, allocations: 31.98 kB / 1.483 GB, free: 15.75 MB / 1.186 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 (87): * Single equations (assignments): 86 * 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.0005621/0.5932, allocations: 261.6 kB / 1.483 GB, free: 15.48 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002128/0.5934, allocations: 95.5 kB / 1.483 GB, free: 15.39 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002518/0.5959, allocations: 1.054 MB / 1.484 GB, free: 14.32 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.211e-05/0.5959, allocations: 16 kB / 1.484 GB, free: 14.31 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/0.5959, allocations: 7.875 kB / 1.484 GB, free: 14.3 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.189e-05/0.5959, allocations: 3.984 kB / 1.484 GB, free: 14.3 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001311/0.5973, allocations: 0.7507 MB / 1.485 GB, free: 13.5 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.138e-06/0.5973, allocations: 0 / 1.485 GB, free: 13.5 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006173/0.5979, allocations: 147.8 kB / 1.485 GB, free: 13.36 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004754/0.5984, allocations: 76.72 kB / 1.485 GB, free: 13.28 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.992e-05/0.5984, allocations: 23.98 kB / 1.485 GB, free: 13.26 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002038/0.6004, allocations: 1.543 MB / 1.487 GB, free: 11.59 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.6005, allocations: 0 / 1.487 GB, free: 11.59 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002147/0.6026, allocations: 0.9283 MB / 1.487 GB, free: 10.64 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004955/0.6031, allocations: 203.1 kB / 1.488 GB, free: 10.45 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001296/0.6032, allocations: 23.94 kB / 1.488 GB, free: 10.42 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006395/0.6039, allocations: 65.48 kB / 1.488 GB, free: 10.36 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001738/0.604, allocations: 80.8 kB / 1.488 GB, free: 10.28 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.194e-05/0.6041, allocations: 31.98 kB / 1.488 GB, free: 10.25 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0006587/0.6048, allocations: 483 kB / 1.488 GB, free: 9.777 MB / 1.186 GB Notification: Performance of sort global known variables: time 1.01e-07/0.6048, allocations: 3.938 kB / 1.488 GB, free: 9.773 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0008993/0.6057, allocations: 311.2 kB / 1.489 GB, free: 9.469 MB / 1.186 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.004348/0.61, allocations: 2.029 MB / 1.491 GB, free: 7.621 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.001737/0.6118, allocations: 0.7728 MB / 1.491 GB, free: 6.836 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.6118, allocations: 4 kB / 1.491 GB, free: 6.832 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0009334/0.6127, allocations: 492.2 kB / 1.492 GB, free: 6.344 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001328/0.614, allocations: 298.3 kB / 1.492 GB, free: 6.074 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01095/0.625, allocations: 6.224 MB / 1.498 GB, free: 15.69 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005026/0.6255, allocations: 439.8 kB / 1.499 GB, free: 15.23 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0009061/0.6264, allocations: 262.8 kB / 1.499 GB, free: 14.96 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005953/0.627, allocations: 391.3 kB / 1.499 GB, free: 14.58 MB / 1.201 GB Notification: Performance of SimCode: time 1.382e-06/0.627, allocations: 0 / 1.499 GB, free: 14.58 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08314/0.7101, allocations: 23.64 MB / 1.522 GB, free: 7.254 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.08/13.79, allocations: 12.72 kB / 1.522 GB, free: 7.246 MB / 1.217 GB " [Timeout remaining time 286] (rm -f Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic_res.mat --tempDir=temp_Buildings_12_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic_fmu --startTime=0 --stopTime=8.64e+06 --stepSize=3456 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic.fmu > Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 20.698215088021243]