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.001301/0.001301, 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.001397/0.001397, allocations: 220.3 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.506/1.506, allocations: 230.6 MB / 256.8 MB, free: 7.797 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.267/3.267, allocations: 0.5003 GB / 0.8062 GB, free: 28.27 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.001997/0.001997, allocations: 62.22 kB / 1.17 GB, free: 19.57 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3317/0.3337, allocations: 179 MB / 1.345 GB, free: 15.96 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.002513/0.3363, allocations: 1.422 MB / 1.347 GB, free: 14.53 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.002315/0.3386, allocations: 1.76 MB / 1.348 GB, free: 12.76 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.649e-05/0.3386, allocations: 0 / 1.348 GB, free: 12.76 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0009607/0.3396, allocations: 356.5 kB / 1.349 GB, free: 12.41 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 5.168e-05/0.3396, allocations: 15.92 kB / 1.349 GB, free: 12.4 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 4.098e-06/0.3396, allocations: 0 / 1.349 GB, free: 12.4 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0002281/0.3398, allocations: 127.2 kB / 1.349 GB, free: 12.27 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 4.55e-05/0.3399, allocations: 5.688 kB / 1.349 GB, free: 12.27 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 6.788e-05/0.34, allocations: 55.72 kB / 1.349 GB, free: 12.21 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001211/0.3401, allocations: 59.72 kB / 1.349 GB, free: 12.15 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.637e-05/0.3401, allocations: 4 kB / 1.349 GB, free: 12.15 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003707/0.3405, allocations: 179.9 kB / 1.349 GB, free: 11.97 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 4.48e-05/0.3405, allocations: 23.91 kB / 1.349 GB, free: 11.95 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 8.632e-05/0.3406, allocations: 67.67 kB / 1.349 GB, free: 11.88 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.00047/0.3411, allocations: 291 kB / 1.349 GB, free: 11.6 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.3411, allocations: 0 / 1.349 GB, free: 11.6 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.603e-06/0.3411, allocations: 3.938 kB / 1.35 GB, free: 11.59 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.239e-06/0.3411, allocations: 0 / 1.35 GB, free: 11.59 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.0007019/0.3418, allocations: 421.2 kB / 1.35 GB, free: 11.15 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.92e-05/0.3418, allocations: 16.03 kB / 1.35 GB, free: 11.14 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.228e-05/0.3419, allocations: 75.47 kB / 1.35 GB, free: 11.06 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.163e-05/0.3419, allocations: 106 kB / 1.35 GB, free: 10.95 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001665/0.3421, allocations: 100.1 kB / 1.35 GB, free: 10.85 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002316/0.3423, allocations: 241 kB / 1.35 GB, free: 10.59 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.498e-05/0.3424, allocations: 158.9 kB / 1.351 GB, free: 10.43 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.755e-05/0.3425, allocations: 158.7 kB / 1.351 GB, free: 10.27 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001229/0.3426, allocations: 105 kB / 1.351 GB, free: 10.16 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.876e-05/0.3426, allocations: 75.28 kB / 1.351 GB, free: 10.09 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.822e-05/0.3427, allocations: 150.6 kB / 1.351 GB, free: 9.941 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.065e-05/0.3428, allocations: 150.6 kB / 1.351 GB, free: 9.793 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.464e-05/0.3428, allocations: 166.5 kB / 1.351 GB, free: 9.629 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003699/0.3432, allocations: 484.8 kB / 1.352 GB, free: 9.113 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 9.589e-05/0.3433, allocations: 165.1 kB / 1.352 GB, free: 8.941 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.868e-05/0.3433, allocations: 84.08 kB / 1.352 GB, free: 8.855 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 3.755e-05/0.3434, allocations: 79.28 kB / 1.352 GB, free: 8.777 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.079e-05/0.3434, allocations: 105.8 kB / 1.352 GB, free: 8.664 MB / 1.045 GB Notification: Performance of pre-optimization done (n=0): time 8.32e-07/0.3434, allocations: 0 / 1.352 GB, free: 8.664 MB / 1.045 GB Notification: Performance of matching and sorting (n=0): time 0.0001755/0.3436, allocations: 53.5 kB / 1.352 GB, free: 8.605 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.85e-05/0.3437, allocations: 130.7 kB / 1.352 GB, free: 8.465 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003359/0.344, allocations: 321.6 kB / 1.353 GB, free: 8.141 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.769e-05/0.344, allocations: 29.7 kB / 1.353 GB, free: 8.105 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 8.557e-05/0.3441, allocations: 120.5 kB / 1.353 GB, free: 7.98 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.264e-06/0.3441, allocations: 0 / 1.353 GB, free: 7.98 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.192e-05/0.3442, allocations: 61.69 kB / 1.353 GB, free: 7.914 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001558/0.3443, allocations: 334.8 kB / 1.353 GB, free: 7.578 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.71e-05/0.3444, allocations: 59.75 kB / 1.353 GB, free: 7.52 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001348/0.3446, allocations: 121.9 kB / 1.353 GB, free: 7.379 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002674/0.3448, allocations: 205.8 kB / 1.354 GB, free: 7.156 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.058e-06/0.3448, allocations: 4 kB / 1.354 GB, free: 7.152 MB / 1.045 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004343/0.3453, allocations: 237.3 kB / 1.354 GB, free: 6.914 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.35e-05/0.3453, allocations: 8.156 kB / 1.354 GB, free: 6.906 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.3453, allocations: 4 kB / 1.354 GB, free: 6.902 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.339e-05/0.3453, allocations: 4 kB / 1.354 GB, free: 6.898 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.759e-06/0.3453, allocations: 4 kB / 1.354 GB, free: 6.895 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.183e-06/0.3453, allocations: 3.984 kB / 1.354 GB, free: 6.891 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001204/0.3454, allocations: 31.73 kB / 1.354 GB, free: 6.859 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.093e-05/0.3454, allocations: 4 kB / 1.354 GB, free: 6.855 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.0002226/0.3457, allocations: 221.1 kB / 1.354 GB, free: 6.629 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.392e-05/0.3457, allocations: 124.8 kB / 1.354 GB, free: 6.5 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.992e-05/0.3458, allocations: 109.8 kB / 1.354 GB, free: 6.387 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.51e-05/0.3459, allocations: 192.1 kB / 1.354 GB, free: 6.191 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.474e-05/0.346, allocations: 184.2 kB / 1.355 GB, free: 6.004 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.172e-05/0.346, allocations: 176.3 kB / 1.355 GB, free: 5.824 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002872/0.3463, allocations: 424.1 kB / 1.355 GB, free: 5.359 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.744e-05/0.3464, allocations: 105 kB / 1.355 GB, free: 5.25 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.601e-05/0.3464, allocations: 108.9 kB / 1.355 GB, free: 5.137 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.069e-05/0.3465, allocations: 180.3 kB / 1.356 GB, free: 4.953 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.853e-05/0.3466, allocations: 184.2 kB / 1.356 GB, free: 4.766 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.677e-05/0.3466, allocations: 184.2 kB / 1.356 GB, free: 4.578 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.583e-05/0.3467, allocations: 176.3 kB / 1.356 GB, free: 4.398 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001664/0.3469, allocations: 331.5 kB / 1.356 GB, free: 4.051 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 7.925e-05/0.347, allocations: 120.8 kB / 1.357 GB, free: 3.926 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001075/0.3471, allocations: 184.5 kB / 1.357 GB, free: 3.738 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001296/0.3472, allocations: 108.9 kB / 1.357 GB, free: 3.625 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.072e-05/0.3473, allocations: 180.2 kB / 1.357 GB, free: 3.441 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.219e-05/0.3473, allocations: 109 kB / 1.357 GB, free: 3.328 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0002088/0.3475, allocations: 213.2 kB / 1.357 GB, free: 3.117 MB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/0.3475, allocations: 0 / 1.357 GB, free: 3.117 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0003428/0.3479, allocations: 67.86 kB / 1.357 GB, free: 3.051 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.0007172/0.3486, allocations: 0.9256 MB / 1.358 GB, free: 2.098 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0001809/0.3488, allocations: 79.89 kB / 1.358 GB, free: 2.02 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.3488, allocations: 0 / 1.358 GB, free: 2.02 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 1.653e-06/0.3488, allocations: 0 / 1.358 GB, free: 2.02 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004552/0.3492, allocations: 464.6 kB / 1.359 GB, free: 1.562 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002715/0.352, allocations: 2.446 MB / 1.361 GB, free: 14.99 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001348/0.3521, allocations: 134.6 kB / 1.361 GB, free: 14.84 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 1.526e-05/0.3521, allocations: 4 kB / 1.361 GB, free: 14.83 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.671e-05/0.3522, allocations: 31.42 kB / 1.361 GB, free: 14.8 MB / 1.061 GB Notification: Performance of SimCode: time 5.01e-07/0.3522, allocations: 0 / 1.361 GB, free: 14.8 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02626/0.3784, allocations: 5.051 MB / 1.366 GB, free: 9.91 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.62/12, allocations: 17.69 kB / 1.366 GB, free: 9.895 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.868511726963334]