Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001289/0.001289, allocations: 102.7 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.001337/0.001337, allocations: 188.6 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.442/1.442, allocations: 225.6 MB / 247.8 MB, free: 3.734 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.924/2.924, allocations: 497.2 MB / 0.7812 GB, free: 12.02 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001999/0.001999, allocations: 75.88 kB / 1.134 GB, free: 13.2 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.117/1.119, allocations: 173.9 MB / 1.304 GB, free: 32.16 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.005982/1.125, allocations: 5.188 MB / 1.309 GB, free: 28.46 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.1907/1.316, allocations: 151.2 MB / 1.457 GB, free: 14.57 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001057/1.317, allocations: 20.34 kB / 1.457 GB, free: 14.56 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0007382/1.318, allocations: 199.9 kB / 1.457 GB, free: 14.43 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.002279/1.32, allocations: 0.579 MB / 1.457 GB, free: 14.08 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.002477/1.323, allocations: 0.8621 MB / 1.458 GB, free: 13.61 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.002238/1.325, allocations: 1.451 MB / 1.46 GB, free: 12.86 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009272/1.326, allocations: 483 kB / 1.46 GB, free: 12.57 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001072/1.327, allocations: 0.5196 MB / 1.461 GB, free: 12.31 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008876/1.328, allocations: 0.5457 MB / 1.461 GB, free: 12.02 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0002237/1.328, allocations: 125.9 kB / 1.461 GB, free: 12.02 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001211/1.329, allocations: 0.5064 MB / 1.462 GB, free: 11.89 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0003678/1.33, allocations: 318.5 kB / 1.462 GB, free: 11.69 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0007446/1.33, allocations: 0.6135 MB / 1.463 GB, free: 11.28 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.003645/1.334, allocations: 1.761 MB / 1.464 GB, free: 10.53 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 7.294e-06/1.334, allocations: 0.7969 kB / 1.464 GB, free: 10.53 MB / 1.154 GB Notification: Performance of FrontEnd: time 2.414e-06/1.334, allocations: 1.5 kB / 1.464 GB, free: 10.53 MB / 1.154 GB Notification: Performance of Transformations before backend: time 7.064e-05/1.334, allocations: 0 / 1.464 GB, free: 10.53 MB / 1.154 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.004367/1.338, allocations: 1.551 MB / 1.466 GB, free: 9.469 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.497e-05/1.338, allocations: 9.844 kB / 1.466 GB, free: 9.469 MB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002364/1.339, allocations: 152.9 kB / 1.466 GB, free: 9.367 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001317/1.34, allocations: 218 kB / 1.466 GB, free: 9.297 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001684/1.342, allocations: 0.7865 MB / 1.467 GB, free: 8.781 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001065/1.342, allocations: 77.59 kB / 1.467 GB, free: 8.746 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001548/1.342, allocations: 93.66 kB / 1.467 GB, free: 8.715 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002069/1.344, allocations: 1.017 MB / 1.468 GB, free: 8.238 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.309e-05/1.344, allocations: 0 / 1.468 GB, free: 8.238 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000115/1.344, allocations: 46.61 kB / 1.468 GB, free: 8.203 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.315e-05/1.344, allocations: 22.31 kB / 1.468 GB, free: 8.203 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002179/1.346, allocations: 1.17 MB / 1.469 GB, free: 7.648 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005422/1.352, allocations: 3.049 MB / 1.472 GB, free: 5.148 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001849/1.354, allocations: 0.8678 MB / 1.473 GB, free: 4.656 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006131/1.354, allocations: 290.2 kB / 1.474 GB, free: 4.508 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007457/1.355, allocations: 478.2 kB / 1.474 GB, free: 3.992 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001004/1.356, allocations: 0.4981 MB / 1.474 GB, free: 3.668 MB / 1.154 GB Notification: Performance of pre-optimization done (n=82): time 2.796e-06/1.356, allocations: 5.219 kB / 1.474 GB, free: 3.664 MB / 1.154 GB Notification: Performance of matching and sorting (n=82): time 0.003746/1.36, allocations: 1.236 MB / 1.476 GB, free: 2.996 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001372/1.36, allocations: 193.9 kB / 1.476 GB, free: 2.773 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001078/1.361, allocations: 0.6372 MB / 1.476 GB, free: 2.41 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.0001051/1.361, allocations: 41.52 kB / 1.477 GB, free: 2.367 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004239/1.361, allocations: 437.9 kB / 1.477 GB, free: 1.984 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002943/1.362, allocations: 278.5 kB / 1.477 GB, free: 1.742 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002642/1.362, allocations: 157.8 kB / 1.477 GB, free: 1.641 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0002198/1.362, allocations: 388.7 kB / 1.478 GB, free: 1.27 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005836/1.363, allocations: 255.3 kB / 1.478 GB, free: 1.148 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007273/1.364, allocations: 368.9 kB / 1.478 GB, free: 0.9219 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001275/1.365, allocations: 0.6096 MB / 1.479 GB, free: 0.5859 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/1.365, allocations: 1.062 kB / 1.479 GB, free: 0.5859 MB / 1.154 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002228/1.367, allocations: 0.8337 MB / 1.48 GB, free: 156 kB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.178e-05/1.367, allocations: 4.969 kB / 1.48 GB, free: 156 kB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-06/1.367, allocations: 1.094 kB / 1.48 GB, free: 156 kB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006182/1.368, allocations: 85.52 kB / 1.48 GB, free: 112 kB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007235/1.368, allocations: 155.9 kB / 1.48 GB, free: 72 kB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002749/1.371, allocations: 1.634 MB / 1.482 GB, free: 14.46 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001168/1.372, allocations: 91.56 kB / 1.482 GB, free: 14.4 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.171e-05/1.372, allocations: 32.11 kB / 1.482 GB, free: 14.39 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 (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.0007326/1.373, allocations: 269.8 kB / 1.482 GB, free: 14.18 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003037/1.373, allocations: 91.44 kB / 1.482 GB, free: 14.13 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002785/1.376, allocations: 1.1 MB / 1.483 GB, free: 13.5 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.077e-05/1.376, allocations: 9.25 kB / 1.483 GB, free: 13.5 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/1.376, allocations: 5.312 kB / 1.483 GB, free: 13.5 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.235e-05/1.376, allocations: 3.984 kB / 1.483 GB, free: 13.5 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004112/1.38, allocations: 2.013 MB / 1.485 GB, free: 12.16 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.791e-06/1.38, allocations: 4 kB / 1.485 GB, free: 12.16 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006602/1.381, allocations: 151.1 kB / 1.485 GB, free: 12.12 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004726/1.382, allocations: 73.95 kB / 1.485 GB, free: 12.09 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.35e-05/1.382, allocations: 32.28 kB / 1.485 GB, free: 12.06 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002203/1.384, allocations: 1.647 MB / 1.487 GB, free: 10.46 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/1.384, allocations: 0 / 1.487 GB, free: 10.46 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002607/1.386, allocations: 1.029 MB / 1.488 GB, free: 9.875 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006314/1.387, allocations: 285.7 kB / 1.488 GB, free: 9.625 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000161/1.387, allocations: 16.94 kB / 1.488 GB, free: 9.613 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007118/1.388, allocations: 64.5 kB / 1.488 GB, free: 9.582 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001776/1.388, allocations: 79.11 kB / 1.488 GB, free: 9.539 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.16e-05/1.388, allocations: 38.66 kB / 1.488 GB, free: 9.523 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0007206/1.389, allocations: 466 kB / 1.489 GB, free: 9.258 MB / 1.17 GB Notification: Performance of sort global known variables: time 1e-07/1.389, allocations: 0.9375 kB / 1.489 GB, free: 9.258 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.001216/1.39, allocations: 353 kB / 1.489 GB, free: 8.953 MB / 1.17 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.00473/1.395, allocations: 2.099 MB / 1.491 GB, free: 7.02 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.002064/1.397, allocations: 0.8001 MB / 1.492 GB, free: 6.207 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 4.92e-06/1.397, allocations: 0 / 1.492 GB, free: 6.207 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.001093/1.398, allocations: 0.4962 MB / 1.493 GB, free: 5.699 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001541/1.4, allocations: 308.2 kB / 1.493 GB, free: 5.422 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01277/1.412, allocations: 6.438 MB / 1.499 GB, free: 14.82 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007955/1.413, allocations: 1.043 MB / 1.5 GB, free: 13.75 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.001088/1.414, allocations: 278.7 kB / 1.5 GB, free: 13.47 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006281/1.415, allocations: 403.3 kB / 1.501 GB, free: 13.08 MB / 1.186 GB Notification: Performance of SimCode: time 2.735e-06/1.415, allocations: 0 / 1.501 GB, free: 13.08 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09686/1.512, allocations: 22.59 MB / 1.523 GB, free: 6.824 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.49/15, allocations: 9.656 kB / 1.523 GB, free: 6.82 MB / 1.201 GB " [Timeout remaining time 285] (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness_fmu --startTime=100000 --stopTime=3e+06 --stepSize=1160 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness.fmu > Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_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: 21.70035568671301]