Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.00163/0.00163, allocations: 110 kB / 16.45 MB, free: 6.504 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.001606/0.001606, allocations: 195.8 kB / 19.41 MB, free: 3.668 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.37/1.37, allocations: 225.6 MB / 247.8 MB, free: 13.95 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.751/2.751, allocations: 476.7 MB / 0.7611 GB, free: 11.33 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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_11_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic,fileNamePrefix="Buildings_11_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002131/0.002131, allocations: 68.12 kB / 1.104 GB, free: 9.293 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8301/0.8323, allocations: 168.7 MB / 1.269 GB, free: 5.152 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic): time 0.007008/0.8393, allocations: 4.873 MB / 1.273 GB, free: 268 kB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.1925/1.032, allocations: 151 MB / 1.421 GB, free: 8.625 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001033/1.033, allocations: 15.94 kB / 1.421 GB, free: 8.609 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.0008935/1.034, allocations: 198.1 kB / 1.421 GB, free: 8.414 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.002388/1.036, allocations: 0.5461 MB / 1.422 GB, free: 7.871 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.002484/1.039, allocations: 0.8363 MB / 1.423 GB, free: 7.039 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.002125/1.041, allocations: 1.378 MB / 1.424 GB, free: 5.656 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009522/1.042, allocations: 425.2 kB / 1.424 GB, free: 5.215 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009494/1.043, allocations: 482.4 kB / 1.425 GB, free: 4.742 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008797/1.043, allocations: 0.494 MB / 1.425 GB, free: 4.246 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0002767/1.044, allocations: 112 kB / 1.425 GB, free: 4.137 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001163/1.045, allocations: 495.5 kB / 1.426 GB, free: 3.652 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0003922/1.045, allocations: 295 kB / 1.426 GB, free: 3.363 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0008719/1.046, allocations: 0.5519 MB / 1.427 GB, free: 2.809 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.002749/1.049, allocations: 1.634 MB / 1.428 GB, free: 1.168 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/1.049, allocations: 0 / 1.428 GB, free: 1.168 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.774e-06/1.049, allocations: 0 / 1.428 GB, free: 1.168 MB / 1.123 GB Notification: Performance of Transformations before backend: time 5.387e-05/1.049, allocations: 0 / 1.428 GB, free: 1.168 MB / 1.123 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.003526/1.052, allocations: 1.463 MB / 1.43 GB, free: 15.65 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.557e-05/1.053, allocations: 8.031 kB / 1.43 GB, free: 15.64 MB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002242/1.053, allocations: 139.4 kB / 1.43 GB, free: 15.5 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001109/1.054, allocations: 188.1 kB / 1.43 GB, free: 15.31 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00161/1.055, allocations: 0.7699 MB / 1.431 GB, free: 14.5 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.167e-05/1.056, allocations: 62 kB / 1.431 GB, free: 14.44 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001346/1.056, allocations: 80 kB / 1.431 GB, free: 14.36 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001816/1.058, allocations: 0.9144 MB / 1.432 GB, free: 13.4 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.234e-05/1.058, allocations: 0 / 1.432 GB, free: 13.4 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.889e-05/1.058, allocations: 40 kB / 1.432 GB, free: 13.36 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.6e-05/1.058, allocations: 20 kB / 1.432 GB, free: 13.34 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001978/1.06, allocations: 1.104 MB / 1.433 GB, free: 12.24 MB / 1.139 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004746/1.064, allocations: 2.682 MB / 1.436 GB, free: 9.441 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001573/1.066, allocations: 0.7589 MB / 1.436 GB, free: 8.684 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005865/1.067, allocations: 270.7 kB / 1.437 GB, free: 8.41 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 7.902e-05/1.067, allocations: 28.69 kB / 1.437 GB, free: 8.383 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001/1.068, allocations: 499.1 kB / 1.437 GB, free: 7.875 MB / 1.139 GB Notification: Performance of pre-optimization done (n=80): time 2.164e-06/1.068, allocations: 0 / 1.437 GB, free: 7.875 MB / 1.139 GB Notification: Performance of matching and sorting (n=80): time 0.003603/1.071, allocations: 1.194 MB / 1.438 GB, free: 6.656 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001863/1.071, allocations: 192.6 kB / 1.438 GB, free: 6.426 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00101/1.072, allocations: 0.6215 MB / 1.439 GB, free: 5.797 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 9.189e-05/1.073, allocations: 45.7 kB / 1.439 GB, free: 5.746 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.000418/1.073, allocations: 417 kB / 1.439 GB, free: 5.332 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002722/1.073, allocations: 265.7 kB / 1.44 GB, free: 5.07 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002462/1.073, allocations: 146.6 kB / 1.44 GB, free: 4.922 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0002232/1.074, allocations: 390.7 kB / 1.44 GB, free: 4.531 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006147/1.074, allocations: 249.9 kB / 1.44 GB, free: 4.285 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006754/1.075, allocations: 358.6 kB / 1.441 GB, free: 3.91 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001242/1.076, allocations: 0.5838 MB / 1.441 GB, free: 3.316 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/1.076, allocations: 0 / 1.441 GB, free: 3.316 MB / 1.139 GB Notification: Performance of matching and sorting (n=89) (initialization): time 0.002086/1.078, allocations: 0.8062 MB / 1.442 GB, free: 2.5 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 2.337e-05/1.078, allocations: 9.875 kB / 1.442 GB, free: 2.492 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.376e-06/1.078, allocations: 0 / 1.442 GB, free: 2.492 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006198/1.079, allocations: 88.77 kB / 1.442 GB, free: 2.402 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006571/1.08, allocations: 147.8 kB / 1.442 GB, free: 2.258 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00237/1.082, allocations: 1.638 MB / 1.444 GB, free: 484 kB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007165/1.083, allocations: 87.5 kB / 1.444 GB, free: 396 kB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.342e-05/1.083, allocations: 35.98 kB / 1.444 GB, free: 360 kB / 1.139 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.0004794/1.083, allocations: 266.2 kB / 1.444 GB, free: 84 kB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002545/1.084, allocations: 95.47 kB / 1.444 GB, free: 15.98 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002558/1.086, allocations: 1.05 MB / 1.445 GB, free: 14.91 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.141e-05/1.086, allocations: 8 kB / 1.445 GB, free: 14.91 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/1.086, allocations: 3.938 kB / 1.445 GB, free: 14.9 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.169e-05/1.086, allocations: 7.969 kB / 1.445 GB, free: 14.89 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00124/1.087, allocations: 0.892 MB / 1.446 GB, free: 13.95 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.5e-06/1.087, allocations: 0 / 1.446 GB, free: 13.95 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005869/1.088, allocations: 139.8 kB / 1.446 GB, free: 13.82 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004439/1.088, allocations: 72.8 kB / 1.447 GB, free: 13.74 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.428e-05/1.088, allocations: 27.97 kB / 1.447 GB, free: 13.71 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002195/1.091, allocations: 1.674 MB / 1.448 GB, free: 11.89 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.701e-06/1.091, allocations: 7.922 kB / 1.448 GB, free: 11.89 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002088/1.093, allocations: 0.9206 MB / 1.449 GB, free: 10.95 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004997/1.093, allocations: 272.2 kB / 1.449 GB, free: 10.66 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00015/1.093, allocations: 20 kB / 1.449 GB, free: 10.64 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006572/1.094, allocations: 63.92 kB / 1.449 GB, free: 10.58 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001629/1.094, allocations: 76.78 kB / 1.45 GB, free: 10.5 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.608e-05/1.094, allocations: 35.97 kB / 1.45 GB, free: 10.47 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.000674/1.095, allocations: 463 kB / 1.45 GB, free: 10.02 MB / 1.154 GB Notification: Performance of sort global known variables: time 7e-08/1.095, allocations: 0 / 1.45 GB, free: 10.02 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0009459/1.096, allocations: 323.1 kB / 1.45 GB, free: 9.707 MB / 1.154 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.004367/1.1, allocations: 1.989 MB / 1.452 GB, free: 7.883 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.001771/1.102, allocations: 0.7728 MB / 1.453 GB, free: 7.098 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/1.102, allocations: 0 / 1.453 GB, free: 7.098 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.0009682/1.103, allocations: 492.2 kB / 1.453 GB, free: 6.605 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001274/1.104, allocations: 307 kB / 1.454 GB, free: 6.32 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01155/1.116, allocations: 6.145 MB / 1.46 GB, free: 68 kB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008886/1.117, allocations: 1.023 MB / 1.461 GB, free: 15.01 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.0009973/1.118, allocations: 258.7 kB / 1.461 GB, free: 14.75 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000635/1.118, allocations: 387.2 kB / 1.461 GB, free: 14.38 MB / 1.17 GB Notification: Performance of SimCode: time 1.373e-06/1.118, allocations: 0 / 1.461 GB, free: 14.38 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0636/1.182, allocations: 21.61 MB / 1.482 GB, free: 9.113 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.41/14.59, allocations: 7.844 kB / 1.482 GB, free: 9.105 MB / 1.186 GB " [Timeout remaining time 285] (rm -f Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic_res.mat --tempDir=temp_Buildings_11_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic_fmu --startTime=0 --stopTime=8.64e+06 --stepSize=3456 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic.fmu > Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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: 20.69274786999449]