Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.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.002171/0.002171, allocations: 103.9 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.002376/0.002376, 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.477/1.477, allocations: 225.6 MB / 247.8 MB, free: 3.719 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.588/2.588, allocations: 443.5 MB / 0.7287 GB, free: 14.54 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.SkyClearness,fileNamePrefix="Buildings_10_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness,fileNamePrefix="Buildings_10_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.003318/0.003318, allocations: 67.89 kB / 1.056 GB, free: 2.52 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3227/0.326, allocations: 160.7 MB / 1.213 GB, free: 1.5 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.007794/0.3338, allocations: 5.212 MB / 1.218 GB, free: 12.25 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.7891/1.123, allocations: 151.2 MB / 1.366 GB, free: 3.207 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001174/1.124, allocations: 20 kB / 1.366 GB, free: 3.199 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0009396/1.125, allocations: 203.8 kB / 1.366 GB, free: 3.07 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.002388/1.127, allocations: 0.5707 MB / 1.366 GB, free: 2.738 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.002424/1.13, allocations: 0.8699 MB / 1.367 GB, free: 2.289 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.002243/1.132, allocations: 1.452 MB / 1.369 GB, free: 1.539 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00102/1.133, allocations: 475.3 kB / 1.369 GB, free: 1.25 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009675/1.134, allocations: 0.5185 MB / 1.37 GB, free: 0.9922 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000863/1.135, allocations: 0.5503 MB / 1.37 GB, free: 0.7031 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0002109/1.135, allocations: 125.2 kB / 1.37 GB, free: 0.7031 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001091/1.136, allocations: 0.5039 MB / 1.371 GB, free: 0.5781 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0003196/1.137, allocations: 316.4 kB / 1.371 GB, free: 388 kB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0007064/1.137, allocations: 0.6064 MB / 1.372 GB, free: 15.97 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.002494/1.14, allocations: 1.766 MB / 1.373 GB, free: 15.22 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 6.913e-06/1.14, allocations: 5.562 kB / 1.373 GB, free: 15.22 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.513e-06/1.14, allocations: 0 / 1.373 GB, free: 15.22 MB / 1.061 GB Notification: Performance of Transformations before backend: time 3.429e-05/1.14, allocations: 0 / 1.373 GB, free: 15.22 MB / 1.061 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.003191/1.143, allocations: 1.545 MB / 1.375 GB, free: 14.17 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.565e-05/1.143, allocations: 10.12 kB / 1.375 GB, free: 14.17 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001928/1.143, allocations: 147.8 kB / 1.375 GB, free: 14.07 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001183/1.144, allocations: 223 kB / 1.375 GB, free: 14 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001407/1.146, allocations: 0.7901 MB / 1.376 GB, free: 13.48 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.239e-05/1.146, allocations: 70.69 kB / 1.376 GB, free: 13.45 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001388/1.146, allocations: 92.97 kB / 1.376 GB, free: 13.42 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001838/1.148, allocations: 1.016 MB / 1.377 GB, free: 12.96 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.843e-05/1.148, allocations: 1.125 kB / 1.377 GB, free: 12.96 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.746e-05/1.148, allocations: 40.75 kB / 1.377 GB, free: 12.93 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.369e-05/1.148, allocations: 24.22 kB / 1.377 GB, free: 12.93 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002021/1.15, allocations: 1.18 MB / 1.378 GB, free: 12.6 MB / 1.061 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.004984/1.155, allocations: 2.947 MB / 1.381 GB, free: 10.23 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001777/1.157, allocations: 0.8738 MB / 1.382 GB, free: 9.738 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006577/1.157, allocations: 285.6 kB / 1.382 GB, free: 9.59 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007322/1.158, allocations: 477 kB / 1.383 GB, free: 9.074 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009972/1.159, allocations: 0.5039 MB / 1.383 GB, free: 8.75 MB / 1.061 GB Notification: Performance of pre-optimization done (n=82): time 2.305e-06/1.159, allocations: 0 / 1.383 GB, free: 8.75 MB / 1.061 GB Notification: Performance of matching and sorting (n=82): time 0.003578/1.163, allocations: 1.227 MB / 1.385 GB, free: 8.09 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001465/1.163, allocations: 205.6 kB / 1.385 GB, free: 7.855 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009644/1.164, allocations: 0.6398 MB / 1.385 GB, free: 7.488 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 0.0001052/1.164, allocations: 42.83 kB / 1.385 GB, free: 7.445 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004076/1.164, allocations: 437.6 kB / 1.386 GB, free: 7.062 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002715/1.165, allocations: 276.3 kB / 1.386 GB, free: 6.824 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002525/1.165, allocations: 152.8 kB / 1.386 GB, free: 6.73 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0002126/1.165, allocations: 385.3 kB / 1.387 GB, free: 6.363 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005621/1.166, allocations: 257.6 kB / 1.387 GB, free: 6.238 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006995/1.166, allocations: 366.5 kB / 1.387 GB, free: 6.008 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001197/1.168, allocations: 0.6066 MB / 1.388 GB, free: 5.68 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.057e-06/1.168, allocations: 1 kB / 1.388 GB, free: 5.68 MB / 1.061 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002168/1.17, allocations: 0.8371 MB / 1.389 GB, free: 5.238 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.625e-05/1.17, allocations: 6.531 kB / 1.389 GB, free: 5.238 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.937e-06/1.17, allocations: 0 / 1.389 GB, free: 5.238 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006255/1.17, allocations: 85.67 kB / 1.389 GB, free: 5.195 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006711/1.171, allocations: 155.6 kB / 1.389 GB, free: 5.156 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002343/1.173, allocations: 1.633 MB / 1.39 GB, free: 3.551 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008538/1.174, allocations: 102 kB / 1.391 GB, free: 3.484 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.381e-05/1.174, allocations: 28.98 kB / 1.391 GB, free: 3.477 MB / 1.061 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.0005543/1.175, allocations: 271.8 kB / 1.391 GB, free: 3.262 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001815/1.175, allocations: 88 kB / 1.391 GB, free: 3.215 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002598/1.178, allocations: 1.09 MB / 1.392 GB, free: 2.609 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.098e-05/1.178, allocations: 16.38 kB / 1.392 GB, free: 2.605 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.125e-06/1.178, allocations: 1.594 kB / 1.392 GB, free: 2.605 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.395e-05/1.178, allocations: 3.984 kB / 1.392 GB, free: 2.602 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003852/1.182, allocations: 2.011 MB / 1.394 GB, free: 1.273 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.899e-06/1.182, allocations: 3.938 kB / 1.394 GB, free: 1.27 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006264/1.182, allocations: 151 kB / 1.394 GB, free: 1.234 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000437/1.183, allocations: 72.72 kB / 1.394 GB, free: 1.195 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.356e-05/1.183, allocations: 30.28 kB / 1.394 GB, free: 1.176 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002117/1.185, allocations: 1.652 MB / 1.396 GB, free: 15.57 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/1.185, allocations: 2.688 kB / 1.396 GB, free: 15.57 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002395/1.187, allocations: 1.026 MB / 1.397 GB, free: 14.98 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006221/1.188, allocations: 286.4 kB / 1.397 GB, free: 14.73 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00021/1.188, allocations: 17.5 kB / 1.397 GB, free: 14.72 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007074/1.189, allocations: 68.42 kB / 1.397 GB, free: 14.68 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001803/1.189, allocations: 71.23 kB / 1.397 GB, free: 14.65 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.597e-05/1.189, allocations: 39.69 kB / 1.397 GB, free: 14.63 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0007009/1.19, allocations: 473.7 kB / 1.398 GB, free: 14.36 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/1.19, allocations: 0 / 1.398 GB, free: 14.36 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.001078/1.191, allocations: 350 kB / 1.398 GB, free: 14.26 MB / 1.076 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.004401/1.195, allocations: 2.105 MB / 1.4 GB, free: 12.95 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001757/1.197, allocations: 0.7951 MB / 1.401 GB, free: 12.53 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/1.197, allocations: 0 / 1.401 GB, free: 12.53 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0009342/1.198, allocations: 0.506 MB / 1.401 GB, free: 12.23 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001453/1.199, allocations: 301.3 kB / 1.402 GB, free: 12.08 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01134/1.211, allocations: 6.44 MB / 1.408 GB, free: 8.094 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008248/1.211, allocations: 1.045 MB / 1.409 GB, free: 7.238 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0009679/1.212, allocations: 277 kB / 1.409 GB, free: 7.098 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006123/1.213, allocations: 412.5 kB / 1.41 GB, free: 6.766 MB / 1.076 GB Notification: Performance of SimCode: time 1.072e-06/1.213, allocations: 0 / 1.41 GB, free: 6.766 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06275/1.276, allocations: 22.59 MB / 1.432 GB, free: 0.8906 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.42/14.7, allocations: 7.531 kB / 1.432 GB, free: 0.8828 MB / 1.092 GB " [Timeout remaining time 285] (rm -f Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness_res.mat --tempDir=temp_Buildings_10_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness_fmu --startTime=100000 --stopTime=3e+06 --stepSize=1160 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness.fmu > Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 20.905966291204095]