Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.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.001669/0.001669, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.002183/0.002183, allocations: 218 kB / 23.04 MB, free: 5.078 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.554/1.554, allocations: 230.6 MB / 256.8 MB, free: 7.996 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.244/3.244, allocations: 0.5003 GB / 0.8061 GB, free: 26.75 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.Electrical.Transmission.Functions.Validation.SelectCable_low,fileNamePrefix="Buildings_latest_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_low",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low,fileNamePrefix="Buildings_latest_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_low",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.001977/0.001977, allocations: 65.56 kB / 1.171 GB, free: 19.81 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3544/0.3564, allocations: 179 MB / 1.345 GB, free: 496 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.00296/0.3593, allocations: 1.423 MB / 1.347 GB, free: 15.04 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.002708/0.362, allocations: 1.97 MB / 1.349 GB, free: 13.07 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.584e-05/0.3621, allocations: 0 / 1.349 GB, free: 13.07 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0012/0.3633, allocations: 387.2 kB / 1.349 GB, free: 12.69 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 5.908e-05/0.3633, allocations: 27.84 kB / 1.349 GB, free: 12.66 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 4.619e-06/0.3633, allocations: 0 / 1.349 GB, free: 12.66 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0002428/0.3636, allocations: 123.1 kB / 1.349 GB, free: 12.54 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 5.864e-05/0.3636, allocations: 13.67 kB / 1.349 GB, free: 12.52 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 7.582e-05/0.3637, allocations: 43.86 kB / 1.349 GB, free: 12.48 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001374/0.3638, allocations: 59.7 kB / 1.349 GB, free: 12.42 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.629e-05/0.3639, allocations: 0 / 1.349 GB, free: 12.42 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005595/0.3644, allocations: 183.9 kB / 1.349 GB, free: 12.24 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 5.954e-05/0.3645, allocations: 35.83 kB / 1.349 GB, free: 12.21 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 9.565e-05/0.3646, allocations: 75.55 kB / 1.35 GB, free: 12.13 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0006754/0.3652, allocations: 295 kB / 1.35 GB, free: 11.84 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.3652, allocations: 0 / 1.35 GB, free: 11.84 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.563e-06/0.3652, allocations: 3.938 kB / 1.35 GB, free: 11.84 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.056e-05/0.3653, allocations: 0 / 1.35 GB, free: 11.84 MB / 1.045 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0008534/0.3661, allocations: 429.2 kB / 1.35 GB, free: 11.39 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.935e-05/0.3662, allocations: 16.02 kB / 1.35 GB, free: 11.38 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.445e-05/0.3662, allocations: 75.47 kB / 1.35 GB, free: 11.3 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.322e-05/0.3663, allocations: 106 kB / 1.35 GB, free: 11.19 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001818/0.3664, allocations: 92.12 kB / 1.35 GB, free: 11.1 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002454/0.3667, allocations: 237.1 kB / 1.351 GB, free: 10.84 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.87e-05/0.3668, allocations: 158.9 kB / 1.351 GB, free: 10.68 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.699e-05/0.3669, allocations: 158.7 kB / 1.351 GB, free: 10.52 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.657e-05/0.3669, allocations: 108.9 kB / 1.351 GB, free: 10.41 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.75e-05/0.367, allocations: 75.28 kB / 1.351 GB, free: 10.34 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.717e-05/0.367, allocations: 150.6 kB / 1.351 GB, free: 10.19 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.131e-05/0.3671, allocations: 150.6 kB / 1.351 GB, free: 10.04 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.091e-05/0.3672, allocations: 158.6 kB / 1.352 GB, free: 9.883 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003885/0.3676, allocations: 484.8 kB / 1.352 GB, free: 9.367 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001025/0.3677, allocations: 173.1 kB / 1.352 GB, free: 9.188 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.23e-05/0.3677, allocations: 84.08 kB / 1.352 GB, free: 9.102 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 4.549e-05/0.3678, allocations: 79.28 kB / 1.352 GB, free: 9.023 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.458e-05/0.3678, allocations: 105.8 kB / 1.353 GB, free: 8.91 MB / 1.045 GB Notification: Performance of pre-optimization done (n=0): time 1.292e-06/0.3678, allocations: 0 / 1.353 GB, free: 8.91 MB / 1.045 GB Notification: Performance of matching and sorting (n=0): time 0.0001865/0.368, allocations: 49.56 kB / 1.353 GB, free: 8.855 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.419e-05/0.3681, allocations: 126.7 kB / 1.353 GB, free: 8.719 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000351/0.3684, allocations: 325.6 kB / 1.353 GB, free: 8.391 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.939e-05/0.3684, allocations: 29.7 kB / 1.353 GB, free: 8.355 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.000106/0.3685, allocations: 120.4 kB / 1.353 GB, free: 8.234 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.615e-06/0.3685, allocations: 0 / 1.353 GB, free: 8.234 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.615e-05/0.3686, allocations: 61.69 kB / 1.353 GB, free: 8.168 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001511/0.3688, allocations: 330.8 kB / 1.354 GB, free: 7.836 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.69e-05/0.3689, allocations: 71.73 kB / 1.354 GB, free: 7.766 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001354/0.369, allocations: 118 kB / 1.354 GB, free: 7.629 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002497/0.3693, allocations: 213.8 kB / 1.354 GB, free: 7.398 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.3693, allocations: 0 / 1.354 GB, free: 7.398 MB / 1.045 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004346/0.3697, allocations: 233.3 kB / 1.354 GB, free: 7.164 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.444e-05/0.3697, allocations: 7.938 kB / 1.354 GB, free: 7.156 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.3697, allocations: 4 kB / 1.354 GB, free: 7.152 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.249e-05/0.3697, allocations: 0 / 1.354 GB, free: 7.152 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.366e-06/0.3697, allocations: 4.219 kB / 1.354 GB, free: 7.148 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/0.3697, allocations: 8.062 kB / 1.354 GB, free: 7.141 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000126/0.3699, allocations: 31.72 kB / 1.354 GB, free: 7.109 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.265e-05/0.3699, allocations: 11.94 kB / 1.354 GB, free: 7.098 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 7 (cab[1].material,cab[2].material,cab[3].material,cab[4].material,cab[5].material,cab[6].material,cab[7].material) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 7 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002504/0.3701, allocations: 223.7 kB / 1.354 GB, free: 6.871 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.533e-05/0.3702, allocations: 124.8 kB / 1.355 GB, free: 6.742 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.845e-05/0.3703, allocations: 113.7 kB / 1.355 GB, free: 6.625 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.845e-05/0.3704, allocations: 184.3 kB / 1.355 GB, free: 6.438 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.484e-05/0.3704, allocations: 180.2 kB / 1.355 GB, free: 6.254 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.331e-05/0.3705, allocations: 188.2 kB / 1.355 GB, free: 6.062 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003028/0.3708, allocations: 420.2 kB / 1.356 GB, free: 5.602 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.961e-05/0.3709, allocations: 108.9 kB / 1.356 GB, free: 5.488 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.892e-05/0.3709, allocations: 105 kB / 1.356 GB, free: 5.379 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.152e-05/0.371, allocations: 184.3 kB / 1.356 GB, free: 5.191 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.518e-05/0.3711, allocations: 180.2 kB / 1.356 GB, free: 5.008 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.828e-05/0.3712, allocations: 176.3 kB / 1.356 GB, free: 4.828 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.905e-05/0.3712, allocations: 180.2 kB / 1.356 GB, free: 4.645 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001845/0.3714, allocations: 335.6 kB / 1.357 GB, free: 4.293 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 7.732e-05/0.3715, allocations: 116.8 kB / 1.357 GB, free: 4.172 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001061/0.3716, allocations: 180.2 kB / 1.357 GB, free: 3.988 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001407/0.3717, allocations: 113.2 kB / 1.357 GB, free: 3.871 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000138/0.3719, allocations: 176.3 kB / 1.357 GB, free: 3.691 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.645e-05/0.3719, allocations: 109 kB / 1.357 GB, free: 3.578 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0002675/0.3722, allocations: 221.1 kB / 1.358 GB, free: 3.359 MB / 1.045 GB Notification: Performance of sort global known variables: time 9e-08/0.3722, allocations: 0 / 1.358 GB, free: 3.359 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0003886/0.3726, allocations: 67.88 kB / 1.358 GB, free: 3.293 MB / 1.045 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007621/0.3733, allocations: 0.91 MB / 1.359 GB, free: 2.355 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0001905/0.3735, allocations: 79.89 kB / 1.359 GB, free: 2.277 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.3735, allocations: 448 / 1.359 GB, free: 2.277 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 5.48e-06/0.3735, allocations: 3.984 kB / 1.359 GB, free: 2.273 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004123/0.374, allocations: 465.8 kB / 1.359 GB, free: 1.816 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002668/0.3766, allocations: 2.457 MB / 1.362 GB, free: 15.23 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003861/0.377, allocations: 0.743 MB / 1.362 GB, free: 14.46 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 1.609e-05/0.377, allocations: 4 kB / 1.362 GB, free: 14.46 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.096e-05/0.3771, allocations: 39.42 kB / 1.362 GB, free: 14.42 MB / 1.061 GB Notification: Performance of SimCode: time 7.52e-07/0.3771, allocations: 0 / 1.362 GB, free: 14.42 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02636/0.4034, allocations: 4.98 MB / 1.367 GB, free: 9.598 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.49/11.9, allocations: 15.92 kB / 1.367 GB, free: 9.582 MB / 1.061 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; mkfifo Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe >> ../files/Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_low_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_low.fmu > Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_Transmission_Functions_Validation_SelectCable_low.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.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: 18.90530286601279]