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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00178/0.00178, allocations: 105.6 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002037/0.002037, allocations: 187.7 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.405/1.405, allocations: 225.6 MB / 247.8 MB, free: 3.734 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.76/2.76, allocations: 497.2 MB / 0.7812 GB, free: 11.97 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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.BaseClasses.Examples.DiffuseIsotropic,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001922/0.001922, allocations: 67.89 kB / 1.134 GB, free: 13.18 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.856/0.8579, allocations: 173.9 MB / 1.304 GB, free: 32.08 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic): time 0.005152/0.863, allocations: 4.874 MB / 1.309 GB, free: 28.61 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.1691/1.032, allocations: 151 MB / 1.456 GB, free: 14.81 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008756/1.033, allocations: 20.91 kB / 1.456 GB, free: 14.8 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0006721/1.034, allocations: 195 kB / 1.456 GB, free: 14.68 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.001853/1.036, allocations: 0.5419 MB / 1.457 GB, free: 14.35 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.002246/1.038, allocations: 0.838 MB / 1.458 GB, free: 13.89 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.00191/1.04, allocations: 1.376 MB / 1.459 GB, free: 13.18 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008067/1.041, allocations: 422.8 kB / 1.46 GB, free: 12.92 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008532/1.041, allocations: 491 kB / 1.46 GB, free: 12.68 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007664/1.042, allocations: 0.4945 MB / 1.46 GB, free: 12.42 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.000184/1.042, allocations: 116 kB / 1.461 GB, free: 12.42 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001057/1.043, allocations: 484.1 kB / 1.461 GB, free: 12.3 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0003338/1.044, allocations: 292.6 kB / 1.461 GB, free: 12.12 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0006726/1.044, allocations: 0.5543 MB / 1.462 GB, free: 11.75 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.002723/1.047, allocations: 1.631 MB / 1.463 GB, free: 11.05 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/1.047, allocations: 0.7969 kB / 1.463 GB, free: 11.05 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.873e-06/1.047, allocations: 0 / 1.463 GB, free: 11.05 MB / 1.154 GB Notification: Performance of Transformations before backend: time 3.539e-05/1.047, allocations: 0 / 1.463 GB, free: 11.05 MB / 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.003205/1.05, allocations: 1.463 MB / 1.465 GB, free: 10.05 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 3.973e-05/1.05, allocations: 11.27 kB / 1.465 GB, free: 10.05 MB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000177/1.051, allocations: 132.6 kB / 1.465 GB, free: 9.961 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009659/1.052, allocations: 189.4 kB / 1.465 GB, free: 9.895 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001528/1.053, allocations: 0.7731 MB / 1.466 GB, free: 9.387 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.248e-05/1.053, allocations: 64.78 kB / 1.466 GB, free: 9.359 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001233/1.053, allocations: 78.27 kB / 1.466 GB, free: 9.336 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001715/1.055, allocations: 0.917 MB / 1.467 GB, free: 8.906 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.144e-05/1.055, allocations: 0 / 1.467 GB, free: 8.906 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.182e-05/1.055, allocations: 33.58 kB / 1.467 GB, free: 8.883 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.187e-05/1.055, allocations: 20.56 kB / 1.467 GB, free: 8.883 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001831/1.057, allocations: 1.108 MB / 1.468 GB, free: 8.512 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004548/1.061, allocations: 2.727 MB / 1.471 GB, free: 6.297 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001455/1.063, allocations: 0.7558 MB / 1.472 GB, free: 5.914 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005109/1.063, allocations: 274.8 kB / 1.472 GB, free: 5.77 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 9.315e-05/1.064, allocations: 38.36 kB / 1.472 GB, free: 5.746 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008798/1.064, allocations: 491.6 kB / 1.472 GB, free: 5.434 MB / 1.154 GB Notification: Performance of pre-optimization done (n=80): time 2.344e-06/1.064, allocations: 0 / 1.472 GB, free: 5.434 MB / 1.154 GB Notification: Performance of matching and sorting (n=80): time 0.003271/1.068, allocations: 1.198 MB / 1.473 GB, free: 4.785 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001316/1.068, allocations: 189.7 kB / 1.474 GB, free: 4.566 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009459/1.069, allocations: 0.6291 MB / 1.474 GB, free: 4.203 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.0001209/1.069, allocations: 46.95 kB / 1.474 GB, free: 4.156 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003723/1.069, allocations: 405.4 kB / 1.475 GB, free: 3.801 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002744/1.07, allocations: 273.4 kB / 1.475 GB, free: 3.562 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002464/1.07, allocations: 152.8 kB / 1.475 GB, free: 3.465 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.000234/1.07, allocations: 392.5 kB / 1.475 GB, free: 3.09 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005129/1.071, allocations: 245.9 kB / 1.476 GB, free: 2.973 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000633/1.071, allocations: 359.2 kB / 1.476 GB, free: 2.746 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001106/1.072, allocations: 0.5795 MB / 1.477 GB, free: 2.43 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.058e-06/1.072, allocations: 1.406 kB / 1.477 GB, free: 2.43 MB / 1.154 GB Notification: Performance of matching and sorting (n=89) (initialization): time 0.001999/1.074, allocations: 0.8111 MB / 1.477 GB, free: 2.012 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.923e-05/1.074, allocations: 8.875 kB / 1.477 GB, free: 2.008 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.335e-06/1.074, allocations: 1.625 kB / 1.477 GB, free: 2.008 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005859/1.075, allocations: 88.25 kB / 1.477 GB, free: 1.961 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006407/1.076, allocations: 148 kB / 1.478 GB, free: 1.926 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002292/1.078, allocations: 1.63 MB / 1.479 GB, free: 328 kB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008226/1.079, allocations: 85.55 kB / 1.479 GB, free: 272 kB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.666e-05/1.079, allocations: 27.61 kB / 1.479 GB, free: 264 kB / 1.154 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.0005418/1.079, allocations: 270.7 kB / 1.48 GB, free: 44 kB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002251/1.079, allocations: 91.12 kB / 1.48 GB, free: 15.99 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002399/1.082, allocations: 1.052 MB / 1.481 GB, free: 15.39 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.013e-05/1.082, allocations: 9.688 kB / 1.481 GB, free: 15.39 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/1.082, allocations: 3.75 kB / 1.481 GB, free: 15.39 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.017e-05/1.082, allocations: 9.047 kB / 1.481 GB, free: 15.39 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001277/1.083, allocations: 0.898 MB / 1.482 GB, free: 14.7 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.831e-06/1.083, allocations: 0 / 1.482 GB, free: 14.7 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005836/1.084, allocations: 150.2 kB / 1.482 GB, free: 14.66 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004459/1.084, allocations: 76.66 kB / 1.482 GB, free: 14.62 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.401e-05/1.084, allocations: 24.86 kB / 1.482 GB, free: 14.61 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002104/1.086, allocations: 1.661 MB / 1.483 GB, free: 12.98 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.973e-06/1.086, allocations: 1 kB / 1.483 GB, free: 12.98 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002243/1.089, allocations: 0.9294 MB / 1.484 GB, free: 12.48 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005695/1.089, allocations: 272.1 kB / 1.485 GB, free: 12.24 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001445/1.089, allocations: 21.61 kB / 1.485 GB, free: 12.23 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000606/1.09, allocations: 62.22 kB / 1.485 GB, free: 12.2 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001624/1.09, allocations: 73.8 kB / 1.485 GB, free: 12.16 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.969e-05/1.09, allocations: 39.3 kB / 1.485 GB, free: 12.14 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.000653/1.091, allocations: 456.6 kB / 1.485 GB, free: 11.88 MB / 1.17 GB Notification: Performance of sort global known variables: time 1e-07/1.091, allocations: 1.156 kB / 1.485 GB, free: 11.88 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.001042/1.092, allocations: 323 kB / 1.486 GB, free: 11.79 MB / 1.17 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.00431/1.096, allocations: 1.977 MB / 1.488 GB, free: 10.57 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.001817/1.098, allocations: 0.7734 MB / 1.488 GB, free: 10.16 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 8.105e-06/1.098, allocations: 3.984 kB / 1.488 GB, free: 10.16 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.0009884/1.099, allocations: 0.4936 MB / 1.489 GB, free: 9.672 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001363/1.1, allocations: 304 kB / 1.489 GB, free: 9.391 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01145/1.112, allocations: 6.14 MB / 1.495 GB, free: 3.137 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007845/1.113, allocations: 1.017 MB / 1.496 GB, free: 2.09 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.001005/1.114, allocations: 270.7 kB / 1.496 GB, free: 1.82 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005831/1.114, allocations: 375.3 kB / 1.497 GB, free: 1.453 MB / 1.17 GB Notification: Performance of SimCode: time 1.423e-06/1.114, allocations: 0 / 1.497 GB, free: 1.453 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06115/1.175, allocations: 21.62 MB / 1.518 GB, free: 12.17 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.03/15.21, allocations: 14.59 kB / 1.518 GB, free: 12.16 MB / 1.201 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_2/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: 21.374567437916994]