Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001733/0.001733, allocations: 105.2 kB / 19.72 MB, free: 2.234 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.002177/0.002177, allocations: 214.3 kB / 23.04 MB, free: 5.07 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.5/1.5, allocations: 230.6 MB / 256.8 MB, free: 7.969 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.101/3.101, allocations: 0.5003 GB / 0.8061 GB, free: 26.73 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_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.001975/0.001975, allocations: 64.77 kB / 1.171 GB, free: 19.86 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3499/0.3519, allocations: 179 MB / 1.345 GB, free: 472 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic): time 0.007421/0.3593, allocations: 4.935 MB / 1.35 GB, free: 11.5 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.1954/0.5547, allocations: 154.1 MB / 1.501 GB, free: 0.7734 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008702/0.5555, allocations: 15.88 kB / 1.501 GB, free: 0.7578 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.00064/0.5562, allocations: 202.2 kB / 1.501 GB, free: 0.5586 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.001761/0.5579, allocations: 0.5574 MB / 1.501 GB, free: 4 kB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.002031/0.56, allocations: 0.8819 MB / 1.502 GB, free: 15.12 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.001716/0.5617, allocations: 1.394 MB / 1.504 GB, free: 13.72 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007662/0.5625, allocations: 418 kB / 1.504 GB, free: 13.29 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007904/0.5632, allocations: 0.5022 MB / 1.505 GB, free: 12.79 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006716/0.5639, allocations: 0.5057 MB / 1.505 GB, free: 12.28 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0001621/0.5641, allocations: 116 kB / 1.505 GB, free: 12.17 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00106/0.5651, allocations: 0.5113 MB / 1.506 GB, free: 11.66 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.000304/0.5654, allocations: 299 kB / 1.506 GB, free: 11.36 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0005428/0.566, allocations: 0.5674 MB / 1.506 GB, free: 10.79 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.002088/0.5681, allocations: 1.681 MB / 1.508 GB, free: 9.105 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.5681, allocations: 0 / 1.508 GB, free: 9.105 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.463e-06/0.5681, allocations: 0 / 1.508 GB, free: 9.105 MB / 1.201 GB Notification: Performance of Transformations before backend: time 2.544e-05/0.5681, allocations: 0 / 1.508 GB, free: 9.105 MB / 1.201 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.0027/0.5708, allocations: 1.423 MB / 1.509 GB, free: 7.645 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.264e-05/0.5708, allocations: 8.031 kB / 1.51 GB, free: 7.637 MB / 1.201 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.057e-05/0.5709, allocations: 22.19 kB / 1.51 GB, free: 7.617 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001581/0.571, allocations: 131.4 kB / 1.51 GB, free: 7.48 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001466/0.5725, allocations: 236 kB / 1.51 GB, free: 7.25 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001294/0.5738, allocations: 0.7061 MB / 1.511 GB, free: 6.52 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.788e-05/0.5739, allocations: 73.98 kB / 1.511 GB, free: 6.445 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001113/0.574, allocations: 76 kB / 1.511 GB, free: 6.371 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001647/0.5756, allocations: 0.9106 MB / 1.512 GB, free: 5.422 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.505e-05/0.5756, allocations: 4 kB / 1.512 GB, free: 5.418 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.839e-05/0.5757, allocations: 39.98 kB / 1.512 GB, free: 5.379 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.382e-05/0.5758, allocations: 20 kB / 1.512 GB, free: 5.359 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002005/0.5778, allocations: 1.1 MB / 1.513 GB, free: 4.258 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004619/0.5824, allocations: 2.695 MB / 1.515 GB, free: 1.438 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001591/0.584, allocations: 0.7571 MB / 1.516 GB, free: 0.6719 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005625/0.5845, allocations: 278.6 kB / 1.516 GB, free: 404 kB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 8.385e-05/0.5846, allocations: 32.62 kB / 1.516 GB, free: 372 kB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009975/0.5856, allocations: 495.2 kB / 1.517 GB, free: 15.86 MB / 1.217 GB Notification: Performance of pre-optimization done (n=80): time 2.565e-06/0.5856, allocations: 0 / 1.517 GB, free: 15.86 MB / 1.217 GB Notification: Performance of matching and sorting (n=80): time 0.0034/0.589, allocations: 1.124 MB / 1.518 GB, free: 14.73 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001416/0.5892, allocations: 200.6 kB / 1.518 GB, free: 14.49 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009737/0.5901, allocations: 0.6451 MB / 1.519 GB, free: 13.83 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 7.595e-05/0.5902, allocations: 41.7 kB / 1.519 GB, free: 13.79 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004089/0.5906, allocations: 409 kB / 1.519 GB, free: 13.38 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002778/0.5909, allocations: 273.6 kB / 1.519 GB, free: 13.11 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002605/0.5912, allocations: 146.6 kB / 1.52 GB, free: 12.96 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0002415/0.5914, allocations: 390.7 kB / 1.52 GB, free: 12.57 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005467/0.5919, allocations: 249.9 kB / 1.52 GB, free: 12.33 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006678/0.5926, allocations: 358.6 kB / 1.521 GB, free: 11.95 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001178/0.5938, allocations: 0.5877 MB / 1.521 GB, free: 11.36 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.998e-06/0.5938, allocations: 0 / 1.521 GB, free: 11.36 MB / 1.217 GB Notification: Performance of matching and sorting (n=89) (initialization): time 0.002052/0.5958, allocations: 0.8101 MB / 1.522 GB, free: 10.53 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.327e-05/0.5959, allocations: 9.719 kB / 1.522 GB, free: 10.52 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.254e-06/0.5959, allocations: 0 / 1.522 GB, free: 10.52 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006003/0.5965, allocations: 88.77 kB / 1.522 GB, free: 10.43 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006441/0.5971, allocations: 151.8 kB / 1.522 GB, free: 10.29 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002218/0.5993, allocations: 1.529 MB / 1.524 GB, free: 8.641 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007803/0.6001, allocations: 91.61 kB / 1.524 GB, free: 8.551 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.79e-05/0.6002, allocations: 31.98 kB / 1.524 GB, free: 8.52 MB / 1.217 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.0004919/0.6007, allocations: 265.5 kB / 1.524 GB, free: 8.25 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001868/0.6009, allocations: 87.44 kB / 1.524 GB, free: 8.164 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002398/0.6033, allocations: 1.066 MB / 1.525 GB, free: 7.082 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.089e-05/0.6033, allocations: 11.94 kB / 1.525 GB, free: 7.07 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.6033, allocations: 3.938 kB / 1.525 GB, free: 7.066 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.019e-05/0.6033, allocations: 3.984 kB / 1.525 GB, free: 7.062 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00115/0.6044, allocations: 0.8754 MB / 1.526 GB, free: 6.145 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.507e-06/0.6044, allocations: 0 / 1.526 GB, free: 6.145 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005796/0.605, allocations: 147.8 kB / 1.526 GB, free: 6 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004329/0.6055, allocations: 76.72 kB / 1.526 GB, free: 5.922 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.726e-05/0.6055, allocations: 23.98 kB / 1.526 GB, free: 5.898 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002043/0.6076, allocations: 1.555 MB / 1.528 GB, free: 4.219 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.6076, allocations: 4.031 kB / 1.528 GB, free: 4.215 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002153/0.6097, allocations: 0.9244 MB / 1.529 GB, free: 3.266 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000452/0.6102, allocations: 207.1 kB / 1.529 GB, free: 3.062 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001276/0.6103, allocations: 20 kB / 1.529 GB, free: 3.043 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006209/0.6109, allocations: 59.92 kB / 1.529 GB, free: 2.984 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001649/0.6111, allocations: 80.73 kB / 1.529 GB, free: 2.902 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.768e-05/0.6111, allocations: 35.98 kB / 1.529 GB, free: 2.867 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0007077/0.6119, allocations: 475 kB / 1.53 GB, free: 2.406 MB / 1.217 GB Notification: Performance of sort global known variables: time 9e-08/0.6119, allocations: 4 kB / 1.53 GB, free: 2.402 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.001011/0.6129, allocations: 319.2 kB / 1.53 GB, free: 2.09 MB / 1.217 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.004384/0.6173, allocations: 1.991 MB / 1.532 GB, free: 260 kB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.001817/0.6191, allocations: 0.7649 MB / 1.533 GB, free: 15.48 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.6191, allocations: 3.938 kB / 1.533 GB, free: 15.47 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.0009603/0.62, allocations: 0.4887 MB / 1.533 GB, free: 14.98 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001312/0.6213, allocations: 291.5 kB / 1.533 GB, free: 14.7 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01137/0.6327, allocations: 6.213 MB / 1.539 GB, free: 8.336 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007224/0.6334, allocations: 1.031 MB / 1.54 GB, free: 7.273 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.0008686/0.6343, allocations: 266.7 kB / 1.541 GB, free: 7.008 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005888/0.6349, allocations: 391.3 kB / 1.541 GB, free: 6.629 MB / 1.232 GB Notification: Performance of SimCode: time 1.082e-06/0.6349, allocations: 0 / 1.541 GB, free: 6.629 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05944/0.6943, allocations: 22.45 MB / 1.563 GB, free: 432 kB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.45/15.15, allocations: 17.12 kB / 1.563 GB, free: 416 kB / 1.248 GB " [Timeout remaining time 285] (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic_fmu --startTime=0 --stopTime=8.64e+06 --stepSize=3456 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic.fmu > Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 22.05683580803452]