Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.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.001553/0.001553, allocations: 117.4 kB / 17.17 MB, free: 5.977 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.001857/0.001857, allocations: 214.3 kB / 20.13 MB, free: 3.035 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.506/1.506, allocations: 230.6 MB / 253.5 MB, free: 15.1 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 2.897/2.897, allocations: 0.49 GB / 0.7923 GB, free: 1.344 MB / 0.6231 GB " [Timeout remaining time 176] 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.Examples.DiffuseIsotropic,fileNamePrefix="Buildings_12_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic,fileNamePrefix="Buildings_12_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic",fmuType="cs",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.002115/0.002115, allocations: 63.91 kB / 1.149 GB, free: 15.43 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.053/1.055, allocations: 176.1 MB / 1.321 GB, free: 24.73 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic): time 0.006219/1.061, allocations: 6.043 MB / 1.327 GB, free: 20.4 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.2074/1.269, allocations: 154.2 MB / 1.478 GB, free: 3.25 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001258/1.27, allocations: 27.81 kB / 1.478 GB, free: 3.234 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0007916/1.271, allocations: 243.6 kB / 1.478 GB, free: 3.02 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.002446/1.273, allocations: 0.6393 MB / 1.479 GB, free: 2.531 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.002493/1.276, allocations: 0.8982 MB / 1.48 GB, free: 1.844 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.002367/1.278, allocations: 1.675 MB / 1.481 GB, free: 0.7969 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00104/1.279, allocations: 0.6059 MB / 1.482 GB, free: 360 kB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001125/1.28, allocations: 0.6402 MB / 1.483 GB, free: 15.97 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000854/1.281, allocations: 0.6768 MB / 1.483 GB, free: 15.48 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0002243/1.281, allocations: 156 kB / 1.483 GB, free: 15.48 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001352/1.283, allocations: 0.5461 MB / 1.484 GB, free: 15.28 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0003938/1.283, allocations: 384.4 kB / 1.484 GB, free: 14.97 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0007946/1.284, allocations: 0.7392 MB / 1.485 GB, free: 14.43 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.003141/1.287, allocations: 2.087 MB / 1.487 GB, free: 12.91 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 7.915e-06/1.287, allocations: 0 / 1.487 GB, free: 12.91 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.884e-06/1.287, allocations: 0 / 1.487 GB, free: 12.91 MB / 1.17 GB Notification: Performance of Transformations before backend: time 3.953e-05/1.287, allocations: 1.25 kB / 1.487 GB, free: 12.91 MB / 1.17 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.003461/1.29, allocations: 1.794 MB / 1.489 GB, free: 11.52 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 5.602e-05/1.29, allocations: 14.11 kB / 1.489 GB, free: 11.51 MB / 1.17 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.847e-05/1.291, allocations: 31 kB / 1.489 GB, free: 11.51 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002129/1.291, allocations: 182.5 kB / 1.489 GB, free: 11.36 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001703/1.292, allocations: 271 kB / 1.489 GB, free: 11.23 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001715/1.294, allocations: 0.8907 MB / 1.49 GB, free: 10.51 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.949e-05/1.294, allocations: 91.19 kB / 1.49 GB, free: 10.46 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001766/1.294, allocations: 116.6 kB / 1.49 GB, free: 10.43 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002409/1.297, allocations: 1.203 MB / 1.491 GB, free: 9.656 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.685e-05/1.297, allocations: 4.719 kB / 1.492 GB, free: 9.652 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001195/1.297, allocations: 50.91 kB / 1.492 GB, free: 9.613 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.981e-05/1.297, allocations: 30.06 kB / 1.492 GB, free: 9.613 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002259/1.299, allocations: 1.28 MB / 1.493 GB, free: 9 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006312/1.306, allocations: 3.732 MB / 1.496 GB, free: 5.762 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001671/1.307, allocations: 0.8094 MB / 1.497 GB, free: 4.941 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005804/1.308, allocations: 294.7 kB / 1.498 GB, free: 4.652 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 8.43e-05/1.308, allocations: 36.59 kB / 1.498 GB, free: 4.617 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009865/1.309, allocations: 0.5121 MB / 1.498 GB, free: 4.086 MB / 1.17 GB Notification: Performance of pre-optimization done (n=87): time 2.945e-06/1.309, allocations: 4 kB / 1.498 GB, free: 4.082 MB / 1.17 GB Notification: Performance of matching and sorting (n=87): time 0.003625/1.313, allocations: 1.29 MB / 1.499 GB, free: 2.77 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001379/1.313, allocations: 196.9 kB / 1.5 GB, free: 2.535 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001167/1.314, allocations: 0.7589 MB / 1.5 GB, free: 1.762 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 8.801e-05/1.314, allocations: 41.7 kB / 1.5 GB, free: 1.715 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005085/1.314, allocations: 0.532 MB / 1.501 GB, free: 1.176 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002839/1.315, allocations: 297.5 kB / 1.501 GB, free: 0.8828 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002749/1.315, allocations: 154.6 kB / 1.501 GB, free: 0.7227 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001531/1.315, allocations: 345.9 kB / 1.502 GB, free: 388 kB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005526/1.316, allocations: 269.9 kB / 1.502 GB, free: 120 kB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007003/1.316, allocations: 382.5 kB / 1.502 GB, free: 15.71 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0012/1.318, allocations: 0.632 MB / 1.503 GB, free: 15.07 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.901e-06/1.318, allocations: 4 kB / 1.503 GB, free: 15.07 MB / 1.186 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002223/1.32, allocations: 0.8803 MB / 1.504 GB, free: 14.18 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.488e-05/1.32, allocations: 7.938 kB / 1.504 GB, free: 14.17 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.077e-06/1.32, allocations: 112 / 1.504 GB, free: 14.17 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006281/1.321, allocations: 88.8 kB / 1.504 GB, free: 14.08 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007204/1.321, allocations: 163.8 kB / 1.504 GB, free: 13.92 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002303/1.324, allocations: 1.633 MB / 1.506 GB, free: 12.14 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009742/1.325, allocations: 103.4 kB / 1.506 GB, free: 12.04 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.202e-05/1.325, allocations: 31.92 kB / 1.506 GB, free: 12.01 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 (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.0006063/1.325, allocations: 299.6 kB / 1.506 GB, free: 11.71 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002234/1.325, allocations: 103.3 kB / 1.506 GB, free: 11.61 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002814/1.328, allocations: 1.134 MB / 1.507 GB, free: 10.47 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.712e-05/1.328, allocations: 12 kB / 1.507 GB, free: 10.46 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.98e-06/1.328, allocations: 0 / 1.507 GB, free: 10.46 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.383e-05/1.328, allocations: 7.984 kB / 1.507 GB, free: 10.45 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001885/1.33, allocations: 1.067 MB / 1.508 GB, free: 9.328 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-06/1.33, allocations: 0 / 1.508 GB, free: 9.328 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006876/1.331, allocations: 155.8 kB / 1.508 GB, free: 9.176 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004897/1.331, allocations: 72.78 kB / 1.508 GB, free: 9.102 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.891e-05/1.331, allocations: 35.84 kB / 1.508 GB, free: 9.066 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002349/1.334, allocations: 1.639 MB / 1.51 GB, free: 7.277 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/1.334, allocations: 4.062 kB / 1.51 GB, free: 7.273 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00241/1.336, allocations: 1.006 MB / 1.511 GB, free: 6.246 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005464/1.337, allocations: 304 kB / 1.511 GB, free: 5.93 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000146/1.337, allocations: 23.98 kB / 1.511 GB, free: 5.906 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006848/1.338, allocations: 59.88 kB / 1.511 GB, free: 5.848 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000174/1.338, allocations: 76.89 kB / 1.512 GB, free: 5.773 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.886e-05/1.338, allocations: 39.98 kB / 1.512 GB, free: 5.734 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.000813/1.339, allocations: 0.5341 MB / 1.512 GB, free: 5.203 MB / 1.186 GB Notification: Performance of sort global known variables: time 9.1e-08/1.339, allocations: 0 / 1.512 GB, free: 5.203 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.001206/1.34, allocations: 390.8 kB / 1.512 GB, free: 4.82 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 (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.004538/1.344, allocations: 2.049 MB / 1.514 GB, free: 2.922 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.001991/1.346, allocations: 0.8273 MB / 1.515 GB, free: 2.082 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 3.977e-06/1.346, allocations: 0 / 1.515 GB, free: 2.082 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.001019/1.347, allocations: 0.5121 MB / 1.516 GB, free: 1.559 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001528/1.349, allocations: 315.3 kB / 1.516 GB, free: 1.27 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01274/1.362, allocations: 7.153 MB / 1.523 GB, free: 9.961 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008294/1.362, allocations: 1.11 MB / 1.524 GB, free: 8.82 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0009578/1.363, allocations: 287.7 kB / 1.524 GB, free: 8.535 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007312/1.364, allocations: 498.6 kB / 1.525 GB, free: 8.051 MB / 1.201 GB Notification: Performance of SimCode: time 1.172e-06/1.364, allocations: 0 / 1.525 GB, free: 8.051 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06464/1.429, allocations: 24.61 MB / 1.549 GB, free: 15.77 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.68/15.11, allocations: 0 / 1.549 GB, free: 15.77 MB / 1.232 GB " [Timeout remaining time 285] (rm -f Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic_res.mat --tempDir=temp_Buildings_12_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic_fmu --startTime=1.82304e+07 --stopTime=1.83168e+07 --stepSize=34.56 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic.fmu > Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.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.945078129007015]