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.002096/0.002096, allocations: 102.2 kB / 16.45 MB, free: 6.449 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.002452/0.002452, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.494/1.494, allocations: 230.6 MB / 252.8 MB, free: 9.121 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.118/3.118, allocations: 0.49 GB / 0.7916 GB, free: 33.24 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.002956/0.002956, allocations: 62.84 kB / 1.149 GB, free: 26.34 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3722/0.3751, allocations: 176.1 MB / 1.321 GB, free: 3.395 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic): time 0.007251/0.3824, allocations: 4.909 MB / 1.326 GB, free: 14.46 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1974/0.5798, allocations: 154 MB / 1.476 GB, free: 3.879 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001041/0.5809, allocations: 23.81 kB / 1.476 GB, free: 3.855 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0009021/0.5818, allocations: 198.2 kB / 1.476 GB, free: 3.66 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.002465/0.5842, allocations: 0.5621 MB / 1.477 GB, free: 3.098 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.00261/0.5868, allocations: 0.8584 MB / 1.478 GB, free: 2.246 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.00217/0.589, allocations: 1.394 MB / 1.479 GB, free: 0.8477 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001046/0.5901, allocations: 418.3 kB / 1.479 GB, free: 424 kB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001095/0.5911, allocations: 0.5022 MB / 1.48 GB, free: 15.91 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009589/0.5921, allocations: 0.5017 MB / 1.48 GB, free: 15.41 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0003092/0.5924, allocations: 120 kB / 1.48 GB, free: 15.29 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001231/0.5936, allocations: 0.5113 MB / 1.481 GB, free: 14.78 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0004265/0.5941, allocations: 303 kB / 1.481 GB, free: 14.48 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.000849/0.5949, allocations: 0.5635 MB / 1.482 GB, free: 13.91 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.002769/0.5977, allocations: 1.669 MB / 1.483 GB, free: 12.24 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 1.054e-05/0.5977, allocations: 8 kB / 1.483 GB, free: 12.23 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.593e-06/0.5977, allocations: 0 / 1.483 GB, free: 12.23 MB / 1.186 GB Notification: Performance of Transformations before backend: time 5.477e-05/0.5978, allocations: 0 / 1.483 GB, free: 12.23 MB / 1.186 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.003482/0.6012, allocations: 1.486 MB / 1.485 GB, free: 10.7 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 5.191e-05/0.6013, allocations: 15.98 kB / 1.485 GB, free: 10.68 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002491/0.6015, allocations: 135.4 kB / 1.485 GB, free: 10.54 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001729/0.6033, allocations: 236 kB / 1.485 GB, free: 10.31 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001506/0.6048, allocations: 0.7823 MB / 1.486 GB, free: 9.484 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.109e-05/0.6048, allocations: 66 kB / 1.486 GB, free: 9.418 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001309/0.605, allocations: 76 kB / 1.486 GB, free: 9.344 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001929/0.6069, allocations: 0.9145 MB / 1.487 GB, free: 8.391 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.027e-05/0.6069, allocations: 3.938 kB / 1.487 GB, free: 8.387 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000108/0.607, allocations: 36 kB / 1.487 GB, free: 8.352 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.27e-05/0.6071, allocations: 20 kB / 1.487 GB, free: 8.332 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002026/0.6091, allocations: 1.112 MB / 1.488 GB, free: 7.215 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00506/0.6142, allocations: 2.732 MB / 1.491 GB, free: 4.355 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00175/0.6159, allocations: 0.7532 MB / 1.492 GB, free: 3.598 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006263/0.6165, allocations: 278.6 kB / 1.492 GB, free: 3.32 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 9.364e-05/0.6166, allocations: 32.69 kB / 1.492 GB, free: 3.289 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001077/0.6177, allocations: 0.4952 MB / 1.492 GB, free: 2.773 MB / 1.186 GB Notification: Performance of pre-optimization done (n=80): time 2.825e-06/0.6177, allocations: 0 / 1.492 GB, free: 2.773 MB / 1.186 GB Notification: Performance of matching and sorting (n=80): time 0.003631/0.6213, allocations: 1.194 MB / 1.493 GB, free: 1.555 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000139/0.6215, allocations: 192.6 kB / 1.494 GB, free: 1.324 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001134/0.6226, allocations: 0.6529 MB / 1.494 GB, free: 0.6641 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 9.024e-05/0.6227, allocations: 41.7 kB / 1.494 GB, free: 0.6172 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004036/0.6231, allocations: 409 kB / 1.495 GB, free: 216 kB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002894/0.6234, allocations: 269.7 kB / 1.495 GB, free: 15.95 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000293/0.6237, allocations: 150.6 kB / 1.495 GB, free: 15.79 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0002402/0.6239, allocations: 390.7 kB / 1.496 GB, free: 15.4 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005864/0.6245, allocations: 249.9 kB / 1.496 GB, free: 15.16 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000715/0.6252, allocations: 362.5 kB / 1.496 GB, free: 14.78 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001279/0.6265, allocations: 0.5838 MB / 1.497 GB, free: 14.18 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.441e-06/0.6265, allocations: 0 / 1.497 GB, free: 14.18 MB / 1.201 GB Notification: Performance of matching and sorting (n=89) (initialization): time 0.002239/0.6287, allocations: 0.8024 MB / 1.497 GB, free: 13.37 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.271e-05/0.6288, allocations: 4.094 kB / 1.497 GB, free: 13.36 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.111e-05/0.6288, allocations: 8 kB / 1.497 GB, free: 13.36 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006554/0.6294, allocations: 88.64 kB / 1.498 GB, free: 13.27 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007018/0.6301, allocations: 151.8 kB / 1.498 GB, free: 13.12 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002478/0.6326, allocations: 1.626 MB / 1.499 GB, free: 11.34 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008531/0.6335, allocations: 93.84 kB / 1.499 GB, free: 11.25 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.886e-05/0.6336, allocations: 27.98 kB / 1.499 GB, free: 11.22 MB / 1.201 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.0005686/0.6341, allocations: 269.5 kB / 1.5 GB, free: 10.95 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002863/0.6344, allocations: 87.44 kB / 1.5 GB, free: 10.86 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00277/0.6372, allocations: 1.07 MB / 1.501 GB, free: 9.777 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.849e-06/0.6372, allocations: 8 kB / 1.501 GB, free: 9.77 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.354e-06/0.6372, allocations: 11.88 kB / 1.501 GB, free: 9.758 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.228e-05/0.6372, allocations: 7.984 kB / 1.501 GB, free: 9.75 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001441/0.6387, allocations: 0.9037 MB / 1.502 GB, free: 8.797 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.593e-06/0.6387, allocations: 0 / 1.502 GB, free: 8.797 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006207/0.6393, allocations: 139.8 kB / 1.502 GB, free: 8.66 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004866/0.6398, allocations: 80.72 kB / 1.502 GB, free: 8.578 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.662e-05/0.6398, allocations: 27.92 kB / 1.502 GB, free: 8.551 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002253/0.6421, allocations: 1.654 MB / 1.504 GB, free: 6.754 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.049e-06/0.6421, allocations: 8.016 kB / 1.504 GB, free: 6.746 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002275/0.6444, allocations: 0.9283 MB / 1.504 GB, free: 5.793 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004836/0.6449, allocations: 276.2 kB / 1.505 GB, free: 5.504 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001798/0.645, allocations: 20 kB / 1.505 GB, free: 5.484 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007268/0.6458, allocations: 63.98 kB / 1.505 GB, free: 5.422 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001767/0.6459, allocations: 80.84 kB / 1.505 GB, free: 5.344 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.366e-05/0.646, allocations: 35.97 kB / 1.505 GB, free: 5.309 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0007991/0.6468, allocations: 475 kB / 1.505 GB, free: 4.848 MB / 1.201 GB Notification: Performance of sort global known variables: time 1e-07/0.6468, allocations: 0 / 1.505 GB, free: 4.848 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.001134/0.648, allocations: 323.2 kB / 1.506 GB, free: 4.531 MB / 1.201 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.004918/0.6529, allocations: 1.991 MB / 1.508 GB, free: 2.695 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.002095/0.655, allocations: 0.7648 MB / 1.508 GB, free: 1.918 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 6.132e-06/0.655, allocations: 192 / 1.508 GB, free: 1.918 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.001108/0.6561, allocations: 492.2 kB / 1.509 GB, free: 1.426 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001523/0.6576, allocations: 299.5 kB / 1.509 GB, free: 1.156 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01293/0.6705, allocations: 6.223 MB / 1.515 GB, free: 10.77 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008568/0.6714, allocations: 1.027 MB / 1.516 GB, free: 9.715 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0008787/0.6723, allocations: 270.7 kB / 1.516 GB, free: 9.445 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006073/0.6729, allocations: 387.3 kB / 1.517 GB, free: 9.066 MB / 1.217 GB Notification: Performance of SimCode: time 1.423e-06/0.6729, allocations: 0 / 1.517 GB, free: 9.066 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08439/0.7573, allocations: 21.88 MB / 1.538 GB, free: 3.512 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.4/14.16, allocations: 9.562 kB / 1.538 GB, free: 3.504 MB / 1.232 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 & python3 -m fmpy simulate --output-file Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic_res.csv --start-time 0 --stop-time 8.64e+06 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 3456 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.csv","/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: 21.088268833002076]