Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001556/0.001556, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.001702/0.001702, allocations: 220.4 kB / 23.03 MB, free: 4.945 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.45/1.45, allocations: 230.6 MB / 256.8 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.752/2.752, allocations: 476.8 MB / 0.7715 GB, free: 3.93 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic,fileNamePrefix="Buildings_11_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.002125/0.002125, allocations: 68.22 kB / 1.118 GB, free: 39.68 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4086/0.4107, allocations: 170 MB / 1.284 GB, free: 10.78 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic): time 0.01111/0.4218, allocations: 5.34 MB / 1.289 GB, free: 5.422 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.2602/0.682, allocations: 132.8 MB / 1.419 GB, free: 108 kB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001641/0.6836, allocations: 31.75 kB / 1.419 GB, free: 76 kB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.001235/0.6849, allocations: 233.7 kB / 1.419 GB, free: 15.84 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.003377/0.6883, allocations: 0.6576 MB / 1.42 GB, free: 15.19 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.002992/0.6912, allocations: 0.8952 MB / 1.421 GB, free: 14.3 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.003186/0.6944, allocations: 1.681 MB / 1.422 GB, free: 12.61 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001537/0.696, allocations: 0.6011 MB / 1.423 GB, free: 11.97 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001571/0.6975, allocations: 0.6384 MB / 1.424 GB, free: 11.33 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001405/0.6989, allocations: 0.6823 MB / 1.424 GB, free: 10.64 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0004722/0.6994, allocations: 156 kB / 1.424 GB, free: 10.49 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001533/0.701, allocations: 0.5309 MB / 1.425 GB, free: 9.961 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0005439/0.7015, allocations: 382.7 kB / 1.425 GB, free: 9.586 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0009535/0.7025, allocations: 0.6065 MB / 1.426 GB, free: 8.977 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.003434/0.7059, allocations: 2.103 MB / 1.428 GB, free: 6.867 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 9.087e-06/0.7059, allocations: 0 / 1.428 GB, free: 6.867 MB / 1.123 GB Notification: Performance of FrontEnd: time 2.916e-06/0.7059, allocations: 0 / 1.428 GB, free: 6.867 MB / 1.123 GB Notification: Performance of Transformations before backend: time 4.708e-05/0.7059, allocations: 3.938 kB / 1.428 GB, free: 6.863 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: 305 * Number of variables: 305 Notification: Performance of Generate backend data structure: time 0.003944/0.7099, allocations: 1.717 MB / 1.43 GB, free: 5.105 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 5.525e-05/0.7099, allocations: 16.02 kB / 1.43 GB, free: 5.09 MB / 1.123 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.742e-05/0.71, allocations: 30.59 kB / 1.43 GB, free: 5.059 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002372/0.7102, allocations: 177.8 kB / 1.43 GB, free: 4.875 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001762/0.712, allocations: 275.8 kB / 1.43 GB, free: 4.605 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001555/0.7135, allocations: 0.8115 MB / 1.431 GB, free: 3.762 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.416e-05/0.7136, allocations: 90.39 kB / 1.431 GB, free: 3.672 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001724/0.7138, allocations: 120 kB / 1.431 GB, free: 3.555 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002546/0.7163, allocations: 1.453 MB / 1.432 GB, free: 1.977 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.591e-05/0.7164, allocations: 4 kB / 1.433 GB, free: 1.973 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001133/0.7165, allocations: 55.98 kB / 1.433 GB, free: 1.918 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.011e-05/0.7165, allocations: 28 kB / 1.433 GB, free: 1.891 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002332/0.7188, allocations: 1.281 MB / 1.434 GB, free: 0.6016 MB / 1.123 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.005734/0.7246, allocations: 2.785 MB / 1.437 GB, free: 13.75 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001703/0.7263, allocations: 0.8186 MB / 1.437 GB, free: 12.92 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006015/0.7269, allocations: 302.7 kB / 1.438 GB, free: 12.62 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 7.656e-05/0.727, allocations: 20.64 kB / 1.438 GB, free: 12.6 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001075/0.728, allocations: 0.6207 MB / 1.438 GB, free: 11.94 MB / 1.139 GB Notification: Performance of pre-optimization done (n=87): time 3.096e-06/0.728, allocations: 112 / 1.438 GB, free: 11.94 MB / 1.139 GB Notification: Performance of matching and sorting (n=87): time 0.0037/0.7317, allocations: 1.215 MB / 1.439 GB, free: 10.72 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001441/0.7319, allocations: 196.8 kB / 1.44 GB, free: 10.48 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001219/0.7331, allocations: 0.7589 MB / 1.44 GB, free: 9.711 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 7.513e-05/0.7332, allocations: 45.7 kB / 1.44 GB, free: 9.66 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005314/0.7337, allocations: 0.5282 MB / 1.441 GB, free: 9.125 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002974/0.734, allocations: 301.4 kB / 1.441 GB, free: 8.828 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002799/0.7343, allocations: 158.6 kB / 1.441 GB, free: 8.668 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0002522/0.7345, allocations: 338 kB / 1.442 GB, free: 8.332 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005779/0.7351, allocations: 269.9 kB / 1.442 GB, free: 8.07 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008491/0.736, allocations: 0.5068 MB / 1.442 GB, free: 7.504 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001312/0.7373, allocations: 0.6359 MB / 1.443 GB, free: 6.859 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.7373, allocations: 0 / 1.443 GB, free: 6.859 MB / 1.139 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002211/0.7395, allocations: 0.8765 MB / 1.444 GB, free: 5.973 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 2.771e-05/0.7395, allocations: 18.58 kB / 1.444 GB, free: 5.957 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.674e-06/0.7395, allocations: 0 / 1.444 GB, free: 5.957 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006721/0.7402, allocations: 84.8 kB / 1.444 GB, free: 5.871 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007465/0.741, allocations: 171.7 kB / 1.444 GB, free: 5.703 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002403/0.7434, allocations: 1.511 MB / 1.446 GB, free: 4.074 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000791/0.7441, allocations: 99.36 kB / 1.446 GB, free: 3.977 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.264e-05/0.7442, allocations: 43.97 kB / 1.446 GB, free: 3.934 MB / 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 (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.000594/0.7448, allocations: 289.6 kB / 1.446 GB, free: 3.641 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001885/0.745, allocations: 99.58 kB / 1.446 GB, free: 3.543 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002666/0.7477, allocations: 1.137 MB / 1.447 GB, free: 2.387 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.07e-05/0.7477, allocations: 8 kB / 1.447 GB, free: 2.379 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.234e-06/0.7477, allocations: 0 / 1.447 GB, free: 2.379 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.187e-05/0.7477, allocations: 7.984 kB / 1.447 GB, free: 2.371 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001264/0.749, allocations: 0.8913 MB / 1.448 GB, free: 1.438 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/0.749, allocations: 0 / 1.448 GB, free: 1.438 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000647/0.7496, allocations: 155.8 kB / 1.448 GB, free: 1.285 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004624/0.7501, allocations: 72.78 kB / 1.448 GB, free: 1.211 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.341e-05/0.7501, allocations: 27.92 kB / 1.448 GB, free: 1.184 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002157/0.7523, allocations: 1.555 MB / 1.45 GB, free: 15.51 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.477e-06/0.7523, allocations: 7.938 kB / 1.45 GB, free: 15.5 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002186/0.7545, allocations: 0.9869 MB / 1.451 GB, free: 14.49 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004892/0.755, allocations: 222.9 kB / 1.451 GB, free: 14.27 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001358/0.7551, allocations: 16 kB / 1.451 GB, free: 14.26 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006899/0.7558, allocations: 71.86 kB / 1.451 GB, free: 14.19 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000175/0.756, allocations: 80.8 kB / 1.451 GB, free: 14.11 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.133e-05/0.756, allocations: 39.97 kB / 1.451 GB, free: 14.07 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0008054/0.7569, allocations: 0.5303 MB / 1.452 GB, free: 13.54 MB / 1.154 GB Notification: Performance of sort global known variables: time 9e-08/0.7569, allocations: 0 / 1.452 GB, free: 13.54 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.001097/0.758, allocations: 390.9 kB / 1.452 GB, free: 13.16 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 (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.004688/0.7626, allocations: 2.092 MB / 1.454 GB, free: 11.25 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.001915/0.7646, allocations: 0.8156 MB / 1.455 GB, free: 10.43 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/0.7646, allocations: 4 kB / 1.455 GB, free: 10.42 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.00103/0.7656, allocations: 0.5159 MB / 1.456 GB, free: 9.891 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001357/0.7669, allocations: 322.9 kB / 1.456 GB, free: 9.594 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01313/0.7801, allocations: 7.142 MB / 1.463 GB, free: 2.293 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006765/0.7808, allocations: 0.5269 MB / 1.463 GB, free: 1.734 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.001052/0.7818, allocations: 275.7 kB / 1.464 GB, free: 1.461 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007778/0.7826, allocations: 495.2 kB / 1.464 GB, free: 0.9766 MB / 1.154 GB Notification: Performance of SimCode: time 1.573e-06/0.7826, allocations: 4 kB / 1.464 GB, free: 0.9727 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09619/0.8788, allocations: 26.02 MB / 1.49 GB, free: 7.379 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.97/15.85, allocations: 8.062 kB / 1.49 GB, free: 7.371 MB / 1.186 GB " [Timeout remaining time 284] (rm -f Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic_res.mat --tempDir=temp_Buildings_11_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic_fmu --startTime=1.82304e+07 --stopTime=1.83168e+07 --stepSize=34.56 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic.fmu > Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 23.24614054209087]