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.001294/0.001294, allocations: 114.6 kB / 17.16 MB, free: 6.004 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.001343/0.001343, allocations: 212.6 kB / 20.13 MB, free: 3.055 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.433/1.433, allocations: 230.6 MB / 253.5 MB, free: 15.08 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.827/2.827, allocations: 0.49 GB / 0.7923 GB, free: 1.27 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic,fileNamePrefix="Buildings_12_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.001969/0.001969, allocations: 71.89 kB / 1.149 GB, free: 15.38 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9251/0.9271, allocations: 176.1 MB / 1.321 GB, free: 24.75 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic): time 0.005004/0.9321, allocations: 4.903 MB / 1.326 GB, free: 21.26 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.1954/1.128, allocations: 154 MB / 1.477 GB, free: 4.332 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00107/1.129, allocations: 23.81 kB / 1.477 GB, free: 4.32 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0008633/1.129, allocations: 194.3 kB / 1.477 GB, free: 4.148 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.00223/1.132, allocations: 0.5558 MB / 1.477 GB, free: 3.734 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.002409/1.134, allocations: 0.8605 MB / 1.478 GB, free: 3.082 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.001959/1.136, allocations: 1.393 MB / 1.48 GB, free: 2.215 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007986/1.137, allocations: 427.5 kB / 1.48 GB, free: 1.898 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009271/1.138, allocations: 0.5031 MB / 1.48 GB, free: 1.598 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007257/1.139, allocations: 0.5102 MB / 1.481 GB, free: 1.234 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0001917/1.139, allocations: 117.8 kB / 1.481 GB, free: 1.234 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001147/1.14, allocations: 0.5074 MB / 1.482 GB, free: 1.035 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0003189/1.14, allocations: 297.7 kB / 1.482 GB, free: 0.8008 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0006169/1.141, allocations: 0.5621 MB / 1.482 GB, free: 392 kB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.002592/1.143, allocations: 1.675 MB / 1.484 GB, free: 15.18 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/1.143, allocations: 4 kB / 1.484 GB, free: 15.17 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.433e-06/1.143, allocations: 0 / 1.484 GB, free: 15.17 MB / 1.17 GB Notification: Performance of Transformations before backend: time 2.533e-05/1.143, allocations: 1.438 kB / 1.484 GB, free: 15.17 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: 211 * Number of variables: 211 Notification: Performance of Generate backend data structure: time 0.002942/1.146, allocations: 1.488 MB / 1.486 GB, free: 14 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 5.257e-05/1.146, allocations: 13.48 kB / 1.486 GB, free: 14 MB / 1.17 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.387e-05/1.146, allocations: 26.06 kB / 1.486 GB, free: 13.99 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002046/1.147, allocations: 141.1 kB / 1.486 GB, free: 13.87 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001494/1.148, allocations: 238.4 kB / 1.486 GB, free: 13.76 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001261/1.149, allocations: 0.7838 MB / 1.487 GB, free: 13.11 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.487e-05/1.149, allocations: 64.69 kB / 1.487 GB, free: 13.09 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001177/1.15, allocations: 81.28 kB / 1.487 GB, free: 13.06 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001616/1.151, allocations: 0.9151 MB / 1.488 GB, free: 12.46 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.996e-05/1.151, allocations: 0 / 1.488 GB, free: 12.46 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.869e-05/1.151, allocations: 37.12 kB / 1.488 GB, free: 12.44 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.884e-05/1.151, allocations: 19.44 kB / 1.488 GB, free: 12.44 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001884/1.153, allocations: 1.102 MB / 1.489 GB, free: 11.92 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004346/1.158, allocations: 2.734 MB / 1.492 GB, free: 9.699 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001575/1.159, allocations: 0.7511 MB / 1.492 GB, free: 9.312 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005381/1.16, allocations: 278.4 kB / 1.493 GB, free: 9.164 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 7.616e-05/1.16, allocations: 30 kB / 1.493 GB, free: 9.148 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000911/1.161, allocations: 499.5 kB / 1.493 GB, free: 8.828 MB / 1.17 GB Notification: Performance of pre-optimization done (n=80): time 2.325e-06/1.161, allocations: 0 / 1.493 GB, free: 8.828 MB / 1.17 GB Notification: Performance of matching and sorting (n=80): time 0.003428/1.164, allocations: 1.193 MB / 1.494 GB, free: 8.137 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001353/1.164, allocations: 196.6 kB / 1.494 GB, free: 7.902 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009247/1.165, allocations: 0.6528 MB / 1.495 GB, free: 7.242 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 7.473e-05/1.165, allocations: 41.7 kB / 1.495 GB, free: 7.195 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003503/1.166, allocations: 412.9 kB / 1.495 GB, free: 6.785 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.000241/1.166, allocations: 269.7 kB / 1.496 GB, free: 6.52 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002449/1.166, allocations: 150.6 kB / 1.496 GB, free: 6.367 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0002082/1.166, allocations: 390.7 kB / 1.496 GB, free: 5.977 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005273/1.167, allocations: 245.9 kB / 1.496 GB, free: 5.734 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006489/1.167, allocations: 358.6 kB / 1.497 GB, free: 5.359 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001164/1.169, allocations: 0.5877 MB / 1.497 GB, free: 4.758 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/1.169, allocations: 0 / 1.497 GB, free: 4.758 MB / 1.17 GB Notification: Performance of matching and sorting (n=89) (initialization): time 0.002063/1.171, allocations: 0.8062 MB / 1.498 GB, free: 3.941 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.278e-05/1.171, allocations: 8 kB / 1.498 GB, free: 3.934 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.876e-06/1.171, allocations: 0 / 1.498 GB, free: 3.934 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006473/1.171, allocations: 88.77 kB / 1.498 GB, free: 3.844 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006625/1.172, allocations: 147.8 kB / 1.498 GB, free: 3.699 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002483/1.174, allocations: 1.638 MB / 1.5 GB, free: 1.91 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007708/1.175, allocations: 85.56 kB / 1.5 GB, free: 1.828 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.597e-05/1.175, allocations: 36.05 kB / 1.5 GB, free: 1.793 MB / 1.17 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.0004918/1.176, allocations: 271.5 kB / 1.5 GB, free: 1.52 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001948/1.176, allocations: 95.44 kB / 1.5 GB, free: 1.426 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002539/1.179, allocations: 1.062 MB / 1.501 GB, free: 356 kB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.955e-05/1.179, allocations: 15.94 kB / 1.501 GB, free: 340 kB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/1.179, allocations: 0 / 1.501 GB, free: 340 kB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.01e-05/1.179, allocations: 3.984 kB / 1.502 GB, free: 336 kB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001234/1.18, allocations: 0.9036 MB / 1.502 GB, free: 15.37 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.307e-06/1.18, allocations: 0 / 1.502 GB, free: 15.37 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006131/1.18, allocations: 147.8 kB / 1.503 GB, free: 15.23 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004589/1.181, allocations: 68.78 kB / 1.503 GB, free: 15.16 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.006e-05/1.181, allocations: 23.98 kB / 1.503 GB, free: 15.13 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002114/1.183, allocations: 1.662 MB / 1.504 GB, free: 13.33 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/1.183, allocations: 0 / 1.504 GB, free: 13.33 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002193/1.185, allocations: 0.9283 MB / 1.505 GB, free: 12.38 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004499/1.186, allocations: 280.2 kB / 1.505 GB, free: 12.08 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001296/1.186, allocations: 27.94 kB / 1.505 GB, free: 12.05 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006325/1.186, allocations: 59.92 kB / 1.505 GB, free: 12 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001753/1.187, allocations: 72.84 kB / 1.506 GB, free: 11.93 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.586e-05/1.187, allocations: 35.97 kB / 1.506 GB, free: 11.89 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0006966/1.187, allocations: 475 kB / 1.506 GB, free: 11.43 MB / 1.186 GB Notification: Performance of sort global known variables: time 1.3e-07/1.187, allocations: 0 / 1.506 GB, free: 11.43 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.001033/1.188, allocations: 323.2 kB / 1.506 GB, free: 11.12 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.004233/1.193, allocations: 1.984 MB / 1.508 GB, free: 9.289 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.001783/1.194, allocations: 0.7728 MB / 1.509 GB, free: 8.5 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/1.194, allocations: 0 / 1.509 GB, free: 8.5 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.001002/1.195, allocations: 0.4885 MB / 1.51 GB, free: 8 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001291/1.197, allocations: 296.6 kB / 1.51 GB, free: 7.73 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01122/1.208, allocations: 6.227 MB / 1.516 GB, free: 1.352 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000813/1.209, allocations: 1.023 MB / 1.517 GB, free: 304 kB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0009297/1.21, allocations: 274.7 kB / 1.517 GB, free: 24 kB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006441/1.21, allocations: 391.3 kB / 1.518 GB, free: 15.64 MB / 1.201 GB Notification: Performance of SimCode: time 1.002e-06/1.21, allocations: 0 / 1.518 GB, free: 15.64 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05521/1.266, allocations: 21.92 MB / 1.539 GB, free: 10.07 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.69/14.95, allocations: 16.03 kB / 1.539 GB, free: 10.06 MB / 1.217 GB " [Timeout remaining time 285] (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: 21.310195094964]