Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.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.001872/0.001872, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.002405/0.002405, allocations: 217 kB / 22.25 MB, free: 5.082 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.85/1.85, allocations: 230.6 MB / 256 MB, free: 7.992 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 3.765/3.765, allocations: 0.49 GB / 0.7951 GB, free: 33.34 MB / 0.6231 GB " [Timeout remaining time 176] 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.SkyClearness,fileNamePrefix="Buildings_12_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness,fileNamePrefix="Buildings_12_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness",fmuType="me",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.002021/0.002021, allocations: 77.27 kB / 1.154 GB, free: 25.86 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3618/0.3638, allocations: 176.1 MB / 1.326 GB, free: 2.094 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.007549/0.3714, allocations: 5.264 MB / 1.331 GB, free: 12.8 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1786/0.5499, allocations: 154.3 MB / 1.482 GB, free: 1.961 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001395/0.5513, allocations: 19.88 kB / 1.482 GB, free: 1.941 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.001235/0.5526, allocations: 206.1 kB / 1.482 GB, free: 1.738 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.003031/0.5556, allocations: 0.5853 MB / 1.482 GB, free: 1.152 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.002793/0.5584, allocations: 0.9118 MB / 1.483 GB, free: 252 kB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.002472/0.5609, allocations: 1.479 MB / 1.485 GB, free: 14.76 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001129/0.562, allocations: 472.6 kB / 1.485 GB, free: 14.27 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001081/0.5631, allocations: 0.5489 MB / 1.486 GB, free: 13.72 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001069/0.5641, allocations: 0.5562 MB / 1.486 GB, free: 13.16 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0003666/0.5645, allocations: 128 kB / 1.486 GB, free: 13.04 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001392/0.5659, allocations: 0.5425 MB / 1.487 GB, free: 12.5 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0004312/0.5663, allocations: 326.9 kB / 1.487 GB, free: 12.18 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.000885/0.5672, allocations: 0.6141 MB / 1.488 GB, free: 11.56 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.00345/0.5707, allocations: 1.809 MB / 1.49 GB, free: 9.742 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 7.454e-06/0.5707, allocations: 4 kB / 1.49 GB, free: 9.738 MB / 1.186 GB Notification: Performance of FrontEnd: time 2.775e-06/0.5707, allocations: 0 / 1.49 GB, free: 9.738 MB / 1.186 GB Notification: Performance of Transformations before backend: time 7.269e-05/0.5707, allocations: 0 / 1.49 GB, free: 9.738 MB / 1.186 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 241 * Number of variables: 241 Notification: Performance of Generate backend data structure: time 0.004326/0.5751, allocations: 1.5 MB / 1.491 GB, free: 8.199 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.823e-05/0.5751, allocations: 12.03 kB / 1.491 GB, free: 8.188 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002623/0.5754, allocations: 152.2 kB / 1.491 GB, free: 8.031 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002038/0.5774, allocations: 267.9 kB / 1.492 GB, free: 7.77 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001766/0.5792, allocations: 0.7375 MB / 1.492 GB, free: 7.008 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.112e-05/0.5793, allocations: 74 kB / 1.492 GB, free: 6.934 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001781/0.5794, allocations: 88 kB / 1.492 GB, free: 6.848 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002085/0.5815, allocations: 1.02 MB / 1.493 GB, free: 5.789 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.2e-05/0.5816, allocations: 0 / 1.493 GB, free: 5.789 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001013/0.5817, allocations: 40 kB / 1.493 GB, free: 5.75 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.301e-05/0.5817, allocations: 24 kB / 1.493 GB, free: 5.727 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002109/0.5838, allocations: 1.175 MB / 1.495 GB, free: 4.547 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005325/0.5891, allocations: 2.996 MB / 1.498 GB, free: 1.398 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001821/0.5909, allocations: 0.796 MB / 1.498 GB, free: 0.5938 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006124/0.5915, allocations: 298.5 kB / 1.499 GB, free: 304 kB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005216/0.5921, allocations: 84.61 kB / 1.499 GB, free: 220 kB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001055/0.5931, allocations: 0.5032 MB / 1.499 GB, free: 15.69 MB / 1.201 GB Notification: Performance of pre-optimization done (n=82): time 3.126e-06/0.5931, allocations: 3.938 kB / 1.499 GB, free: 15.69 MB / 1.201 GB Notification: Performance of matching and sorting (n=82): time 0.003619/0.5967, allocations: 1.163 MB / 1.5 GB, free: 14.52 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001197/0.5969, allocations: 188.6 kB / 1.5 GB, free: 14.29 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001095/0.598, allocations: 0.6685 MB / 1.501 GB, free: 13.61 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 0.0001201/0.5981, allocations: 45.7 kB / 1.501 GB, free: 13.56 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004205/0.5985, allocations: 441 kB / 1.502 GB, free: 13.12 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002991/0.5988, allocations: 277.6 kB / 1.502 GB, free: 12.86 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002801/0.5991, allocations: 158.5 kB / 1.502 GB, free: 12.7 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0002111/0.5993, allocations: 386.8 kB / 1.502 GB, free: 12.31 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006041/0.5999, allocations: 253.9 kB / 1.503 GB, free: 12.06 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007195/0.6006, allocations: 370.5 kB / 1.503 GB, free: 11.68 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001283/0.6019, allocations: 0.6033 MB / 1.504 GB, free: 11.06 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.408e-06/0.6019, allocations: 0 / 1.504 GB, free: 11.06 MB / 1.201 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002178/0.6041, allocations: 0.8412 MB / 1.504 GB, free: 10.21 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.128e-05/0.6041, allocations: 4 kB / 1.504 GB, free: 10.2 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.406e-06/0.6041, allocations: 0 / 1.504 GB, free: 10.2 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006365/0.6047, allocations: 84.86 kB / 1.504 GB, free: 10.12 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007032/0.6054, allocations: 151.8 kB / 1.505 GB, free: 9.969 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002243/0.6077, allocations: 1.537 MB / 1.506 GB, free: 8.316 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000775/0.6085, allocations: 93.02 kB / 1.506 GB, free: 8.227 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.28e-05/0.6086, allocations: 31.97 kB / 1.506 GB, free: 8.195 MB / 1.201 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 (88): * Single equations (assignments): 87 * 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.0005384/0.6091, allocations: 277.8 kB / 1.507 GB, free: 7.914 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002414/0.6093, allocations: 95.39 kB / 1.507 GB, free: 7.82 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002633/0.612, allocations: 1.097 MB / 1.508 GB, free: 6.707 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.173e-05/0.612, allocations: 8 kB / 1.508 GB, free: 6.699 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.612, allocations: 0 / 1.508 GB, free: 6.699 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.164e-05/0.612, allocations: 3.984 kB / 1.508 GB, free: 6.695 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00388/0.6159, allocations: 2 MB / 1.51 GB, free: 4.641 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.699e-06/0.6159, allocations: 7.938 kB / 1.51 GB, free: 4.633 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006284/0.6165, allocations: 147.8 kB / 1.51 GB, free: 4.488 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004614/0.617, allocations: 68.78 kB / 1.51 GB, free: 4.418 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.515e-05/0.617, allocations: 27.98 kB / 1.51 GB, free: 4.391 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002006/0.619, allocations: 1.559 MB / 1.511 GB, free: 2.711 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-06/0.619, allocations: 0 / 1.511 GB, free: 2.711 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002431/0.6215, allocations: 1.034 MB / 1.512 GB, free: 1.656 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005606/0.622, allocations: 215 kB / 1.513 GB, free: 1.445 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002013/0.6222, allocations: 16 kB / 1.513 GB, free: 1.43 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007659/0.623, allocations: 63.92 kB / 1.513 GB, free: 1.367 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001721/0.6232, allocations: 84.8 kB / 1.513 GB, free: 1.285 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.067e-05/0.6233, allocations: 35.97 kB / 1.513 GB, free: 1.25 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0007369/0.624, allocations: 491 kB / 1.513 GB, free: 0.7773 MB / 1.201 GB Notification: Performance of sort global known variables: time 9.1e-08/0.624, allocations: 0 / 1.513 GB, free: 0.7773 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.001061/0.6251, allocations: 351 kB / 1.514 GB, free: 444 kB / 1.201 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.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (93): * Single equations (assignments): 87 * 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.00457/0.6296, allocations: 2.097 MB / 1.516 GB, free: 14.49 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.001956/0.6316, allocations: 0.7924 MB / 1.516 GB, free: 13.69 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.6316, allocations: 3.938 kB / 1.516 GB, free: 13.68 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.001084/0.6327, allocations: 0.504 MB / 1.517 GB, free: 13.17 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001462/0.6341, allocations: 307 kB / 1.517 GB, free: 12.89 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0135/0.6476, allocations: 6.518 MB / 1.524 GB, free: 6.219 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008695/0.6485, allocations: 1.047 MB / 1.525 GB, free: 5.141 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.000988/0.6495, allocations: 282.9 kB / 1.525 GB, free: 4.859 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006833/0.6502, allocations: 415.3 kB / 1.525 GB, free: 4.453 MB / 1.217 GB Notification: Performance of SimCode: time 1.072e-06/0.6502, allocations: 0 / 1.525 GB, free: 4.453 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08873/0.7389, allocations: 23.39 MB / 1.548 GB, free: 13.31 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.29/15.03, allocations: 10.25 kB / 1.548 GB, free: 13.3 MB / 1.248 GB " [Timeout remaining time 285] (rm -f Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness_res.mat --tempDir=temp_Buildings_12_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness_fmu --startTime=100000 --stopTime=3e+06 --stepSize=1160 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness.fmu > Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.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.065752271097153]