Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001619/0.001619, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001881/0.001881, allocations: 218.8 kB / 22.25 MB, free: 5.125 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.511/1.511, 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.292/3.292, allocations: 0.49 GB / 0.7951 GB, free: 33.4 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.Electrical.Transmission.Functions.Validation.SelectCable_low,fileNamePrefix="Buildings_12_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_low",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low,fileNamePrefix="Buildings_12_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_low",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.002878/0.002878, allocations: 69.03 kB / 1.154 GB, free: 25.76 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3523/0.3551, allocations: 176.1 MB / 1.326 GB, free: 1.957 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.002803/0.3579, allocations: 1.426 MB / 1.327 GB, free: 0.5195 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002842/0.3608, allocations: 1.971 MB / 1.329 GB, free: 14.54 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.84e-05/0.3608, allocations: 3.938 kB / 1.329 GB, free: 14.54 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001117/0.3619, allocations: 396.6 kB / 1.33 GB, free: 14.15 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 5.159e-05/0.362, allocations: 15.91 kB / 1.33 GB, free: 14.14 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 5.069e-06/0.362, allocations: 3.938 kB / 1.33 GB, free: 14.13 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002489/0.3622, allocations: 123.2 kB / 1.33 GB, free: 14.01 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 6.562e-05/0.3623, allocations: 9.672 kB / 1.33 GB, free: 14 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 7.883e-05/0.3624, allocations: 43.8 kB / 1.33 GB, free: 13.95 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001455/0.3625, allocations: 59.77 kB / 1.33 GB, free: 13.89 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.627e-05/0.3626, allocations: 8 kB / 1.33 GB, free: 13.89 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000491/0.363, allocations: 183.8 kB / 1.33 GB, free: 13.71 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 5.209e-05/0.3631, allocations: 31.89 kB / 1.33 GB, free: 13.68 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 9.089e-05/0.3632, allocations: 71.55 kB / 1.33 GB, free: 13.61 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0005046/0.3637, allocations: 299 kB / 1.33 GB, free: 13.31 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.3637, allocations: 0 / 1.33 GB, free: 13.31 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.733e-06/0.3637, allocations: 0 / 1.33 GB, free: 13.31 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.167e-05/0.3637, allocations: 0 / 1.33 GB, free: 13.31 MB / 1.029 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.000871/0.3646, allocations: 421.2 kB / 1.331 GB, free: 12.87 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.786e-05/0.3646, allocations: 16.02 kB / 1.331 GB, free: 12.86 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001424/0.3648, allocations: 106 kB / 1.331 GB, free: 12.74 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001794/0.365, allocations: 96.08 kB / 1.331 GB, free: 12.65 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000243/0.3652, allocations: 233.1 kB / 1.331 GB, free: 12.39 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.379e-05/0.3653, allocations: 154.9 kB / 1.331 GB, free: 12.24 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001611/0.3654, allocations: 158.9 kB / 1.332 GB, free: 12.09 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.561e-05/0.3655, allocations: 108.9 kB / 1.332 GB, free: 11.97 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.542e-05/0.3656, allocations: 75.28 kB / 1.332 GB, free: 11.9 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001232/0.3657, allocations: 154.5 kB / 1.332 GB, free: 11.75 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001072/0.3658, allocations: 154.6 kB / 1.332 GB, free: 11.59 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.934e-05/0.3659, allocations: 154.6 kB / 1.332 GB, free: 11.44 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004212/0.3663, allocations: 492.8 kB / 1.333 GB, free: 10.92 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001068/0.3664, allocations: 165.1 kB / 1.333 GB, free: 10.75 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.38e-05/0.3664, allocations: 84.12 kB / 1.333 GB, free: 10.66 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 6.551e-05/0.3665, allocations: 83.16 kB / 1.333 GB, free: 10.58 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.6e-05/0.3666, allocations: 109.8 kB / 1.333 GB, free: 10.46 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 9.22e-07/0.3666, allocations: 0 / 1.333 GB, free: 10.46 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 0.0001893/0.3668, allocations: 45.61 kB / 1.333 GB, free: 10.41 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001059/0.3669, allocations: 126.7 kB / 1.333 GB, free: 10.27 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003617/0.3672, allocations: 325.6 kB / 1.334 GB, free: 9.945 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.458e-05/0.3672, allocations: 29.7 kB / 1.334 GB, free: 9.91 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.142e-05/0.3673, allocations: 120.4 kB / 1.334 GB, free: 9.789 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.304e-06/0.3673, allocations: 11.94 kB / 1.334 GB, free: 9.777 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.324e-05/0.3674, allocations: 61.62 kB / 1.334 GB, free: 9.711 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001712/0.3676, allocations: 330.8 kB / 1.334 GB, free: 9.379 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.713e-05/0.3677, allocations: 59.95 kB / 1.334 GB, free: 9.32 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001332/0.3678, allocations: 125.7 kB / 1.334 GB, free: 9.176 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002611/0.3681, allocations: 209.8 kB / 1.334 GB, free: 8.949 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.3681, allocations: 0 / 1.334 GB, free: 8.949 MB / 1.029 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005117/0.3686, allocations: 245.2 kB / 1.335 GB, free: 8.703 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.521e-05/0.3686, allocations: 5.406 kB / 1.335 GB, free: 8.699 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.865e-06/0.3686, allocations: 4 kB / 1.335 GB, free: 8.695 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.321e-05/0.3686, allocations: 0 / 1.335 GB, free: 8.695 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.477e-06/0.3686, allocations: 4 kB / 1.335 GB, free: 8.691 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.3686, allocations: 224 / 1.335 GB, free: 8.691 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001165/0.3687, allocations: 35.72 kB / 1.335 GB, free: 8.656 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.008e-05/0.3687, allocations: 4 kB / 1.335 GB, free: 8.652 MB / 1.029 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.0002069/0.3689, allocations: 229 kB / 1.335 GB, free: 8.418 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.005e-05/0.369, allocations: 116.8 kB / 1.335 GB, free: 8.297 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.491e-05/0.3691, allocations: 109.8 kB / 1.335 GB, free: 8.18 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001739/0.3693, allocations: 188.2 kB / 1.335 GB, free: 7.988 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.922e-05/0.3694, allocations: 180.2 kB / 1.335 GB, free: 7.805 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.853e-05/0.3694, allocations: 184.2 kB / 1.336 GB, free: 7.617 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003237/0.3698, allocations: 416.3 kB / 1.336 GB, free: 7.16 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.37e-05/0.3699, allocations: 108.9 kB / 1.336 GB, free: 7.047 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.029e-05/0.3699, allocations: 104.9 kB / 1.336 GB, free: 6.938 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.075e-05/0.37, allocations: 188.3 kB / 1.336 GB, free: 6.746 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.839e-05/0.3701, allocations: 180.2 kB / 1.337 GB, free: 6.562 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.816e-05/0.3702, allocations: 180.3 kB / 1.337 GB, free: 6.379 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.000126/0.3703, allocations: 180.2 kB / 1.337 GB, free: 6.195 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001739/0.3705, allocations: 323.7 kB / 1.337 GB, free: 5.855 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 8.087e-05/0.3705, allocations: 124.8 kB / 1.337 GB, free: 5.727 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000109/0.3706, allocations: 180.2 kB / 1.338 GB, free: 5.543 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001371/0.3708, allocations: 108.9 kB / 1.338 GB, free: 5.43 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.34e-05/0.3709, allocations: 176.3 kB / 1.338 GB, free: 5.25 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.888e-05/0.3709, allocations: 105.3 kB / 1.338 GB, free: 5.141 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0002455/0.3712, allocations: 221.2 kB / 1.338 GB, free: 4.922 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.3712, allocations: 0 / 1.338 GB, free: 4.922 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003858/0.3715, allocations: 67.88 kB / 1.338 GB, free: 4.855 MB / 1.029 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.0007733/0.3723, allocations: 0.9333 MB / 1.339 GB, free: 3.895 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.000167/0.3725, allocations: 83.83 kB / 1.339 GB, free: 3.812 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.3725, allocations: 0 / 1.339 GB, free: 3.812 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.223e-06/0.3725, allocations: 0 / 1.339 GB, free: 3.812 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004749/0.373, allocations: 472.6 kB / 1.34 GB, free: 3.348 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002729/0.3757, allocations: 2.439 MB / 1.342 GB, free: 0.7891 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004493/0.3761, allocations: 0.7468 MB / 1.343 GB, free: 16 kB / 1.029 GB Notification: Performance of simCode: alias equations: time 1.297e-05/0.3762, allocations: 4 kB / 1.343 GB, free: 12 kB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.99e-05/0.3762, allocations: 31.5 kB / 1.343 GB, free: 15.98 MB / 1.045 GB Notification: Performance of SimCode: time 4.4e-07/0.3762, allocations: 4 kB / 1.343 GB, free: 15.97 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03567/0.4119, allocations: 4.953 MB / 1.348 GB, free: 11.16 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.38/11.79, allocations: 3 kB / 1.348 GB, free: 11.16 MB / 1.045 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; mkfifo Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe >> ../files/Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low_res.mat --tempDir=temp_Buildings_12_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_low_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_low.fmu > Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_Transmission_Functions_Validation_SelectCable_low.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.826316233957186]