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.001932/0.001932, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002219/0.002219, allocations: 212.3 kB / 22.25 MB, free: 4.859 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.495/1.495, allocations: 230.6 MB / 256 MB, free: 7.809 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.168/3.168, allocations: 0.4892 GB / 0.7943 GB, free: 35.43 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.002143/0.002143, allocations: 65.62 kB / 1.153 GB, free: 25.83 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3823/0.3844, allocations: 176.1 MB / 1.325 GB, free: 2.426 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.003072/0.3875, allocations: 1.416 MB / 1.326 GB, free: 1 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002583/0.3901, allocations: 1.756 MB / 1.328 GB, free: 15.24 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.484e-05/0.3901, allocations: 0 / 1.328 GB, free: 15.24 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001091/0.3912, allocations: 358 kB / 1.328 GB, free: 14.89 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 5.819e-05/0.3913, allocations: 15.91 kB / 1.329 GB, free: 14.87 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 4.468e-06/0.3913, allocations: 3.938 kB / 1.329 GB, free: 14.87 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002241/0.3915, allocations: 127.1 kB / 1.329 GB, free: 14.74 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 5.628e-05/0.3916, allocations: 13.62 kB / 1.329 GB, free: 14.72 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 6.639e-05/0.3916, allocations: 43.86 kB / 1.329 GB, free: 14.68 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000132/0.3918, allocations: 63.7 kB / 1.329 GB, free: 14.62 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.699e-05/0.3918, allocations: 4 kB / 1.329 GB, free: 14.61 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004041/0.3922, allocations: 171.9 kB / 1.329 GB, free: 14.45 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 5.846e-05/0.3922, allocations: 35.83 kB / 1.329 GB, free: 14.41 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 8.141e-05/0.3923, allocations: 63.67 kB / 1.329 GB, free: 14.35 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004496/0.3928, allocations: 295 kB / 1.329 GB, free: 14.06 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.3928, allocations: 0 / 1.329 GB, free: 14.06 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.523e-06/0.3928, allocations: 4 kB / 1.329 GB, free: 14.05 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.571e-06/0.3928, allocations: 0 / 1.329 GB, free: 14.05 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.000762/0.3935, allocations: 425.2 kB / 1.33 GB, free: 13.61 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.253e-05/0.3936, allocations: 8.031 kB / 1.33 GB, free: 13.6 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.045e-05/0.3936, allocations: 106 kB / 1.33 GB, free: 13.49 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001635/0.3938, allocations: 100.1 kB / 1.33 GB, free: 13.39 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002339/0.394, allocations: 229.1 kB / 1.33 GB, free: 13.14 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.983e-05/0.3941, allocations: 150.9 kB / 1.33 GB, free: 12.99 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.342e-05/0.3942, allocations: 158.9 kB / 1.33 GB, free: 12.84 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.918e-05/0.3943, allocations: 112.9 kB / 1.331 GB, free: 12.72 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.306e-05/0.3943, allocations: 75.28 kB / 1.331 GB, free: 12.64 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.618e-05/0.3944, allocations: 150.6 kB / 1.331 GB, free: 12.5 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.224e-05/0.3944, allocations: 158.5 kB / 1.331 GB, free: 12.34 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.663e-05/0.3945, allocations: 150.6 kB / 1.331 GB, free: 12.19 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003882/0.3949, allocations: 484.8 kB / 1.331 GB, free: 11.68 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000103/0.395, allocations: 165.1 kB / 1.332 GB, free: 11.5 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.191e-05/0.395, allocations: 88.14 kB / 1.332 GB, free: 11.41 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 4.006e-05/0.3951, allocations: 79.22 kB / 1.332 GB, free: 11.34 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.818e-05/0.3951, allocations: 113.8 kB / 1.332 GB, free: 11.21 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 9.92e-07/0.3951, allocations: 4 kB / 1.332 GB, free: 11.21 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 0.0001785/0.3953, allocations: 45.61 kB / 1.332 GB, free: 11.16 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.821e-05/0.3954, allocations: 126.7 kB / 1.332 GB, free: 11.02 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000373/0.3958, allocations: 329.6 kB / 1.332 GB, free: 10.69 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.83e-05/0.3958, allocations: 25.7 kB / 1.332 GB, free: 10.66 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 9.25e-05/0.3959, allocations: 116.5 kB / 1.333 GB, free: 10.54 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.295e-06/0.3959, allocations: 0 / 1.333 GB, free: 10.54 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.794e-05/0.396, allocations: 61.67 kB / 1.333 GB, free: 10.48 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001588/0.3961, allocations: 330.8 kB / 1.333 GB, free: 10.14 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.685e-05/0.3962, allocations: 67.89 kB / 1.333 GB, free: 10.08 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000138/0.3964, allocations: 117.7 kB / 1.333 GB, free: 9.941 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002537/0.3966, allocations: 217.8 kB / 1.333 GB, free: 9.707 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.3966, allocations: 7.938 kB / 1.333 GB, free: 9.699 MB / 1.029 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004659/0.3971, allocations: 241.2 kB / 1.334 GB, free: 9.457 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.63e-05/0.3971, allocations: 5.875 kB / 1.334 GB, free: 9.453 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.907e-06/0.3971, allocations: 4 kB / 1.334 GB, free: 9.449 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.441e-05/0.3971, allocations: 0 / 1.334 GB, free: 9.449 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.596e-06/0.3971, allocations: 4 kB / 1.334 GB, free: 9.445 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.641e-06/0.3971, allocations: 0 / 1.334 GB, free: 9.445 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001259/0.3973, allocations: 27.73 kB / 1.334 GB, free: 9.418 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.102e-05/0.3973, allocations: 4 kB / 1.334 GB, free: 9.414 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.000255/0.3975, allocations: 237 kB / 1.334 GB, free: 9.176 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.291e-05/0.3976, allocations: 120.8 kB / 1.334 GB, free: 9.051 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7e-05/0.3977, allocations: 113.8 kB / 1.334 GB, free: 8.93 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.938e-05/0.3977, allocations: 180.2 kB / 1.334 GB, free: 8.746 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.619e-05/0.3978, allocations: 180.3 kB / 1.334 GB, free: 8.562 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.304e-05/0.3979, allocations: 184.2 kB / 1.335 GB, free: 8.375 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000304/0.3982, allocations: 424.3 kB / 1.335 GB, free: 7.91 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.554e-05/0.3983, allocations: 108.9 kB / 1.335 GB, free: 7.797 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.645e-05/0.3983, allocations: 104.9 kB / 1.335 GB, free: 7.688 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.984e-05/0.3984, allocations: 184.3 kB / 1.335 GB, free: 7.5 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.07e-05/0.3985, allocations: 188.2 kB / 1.336 GB, free: 7.309 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.439e-05/0.3986, allocations: 176.3 kB / 1.336 GB, free: 7.129 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.268e-05/0.3986, allocations: 180.2 kB / 1.336 GB, free: 6.945 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001771/0.3988, allocations: 323.6 kB / 1.336 GB, free: 6.605 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 9.077e-05/0.3989, allocations: 128.8 kB / 1.336 GB, free: 6.473 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001029/0.399, allocations: 176.3 kB / 1.336 GB, free: 6.293 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001339/0.3991, allocations: 105 kB / 1.337 GB, free: 6.184 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.36e-05/0.3992, allocations: 184.2 kB / 1.337 GB, free: 5.996 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.654e-05/0.3993, allocations: 101.3 kB / 1.337 GB, free: 5.891 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0002236/0.3995, allocations: 217.2 kB / 1.337 GB, free: 5.676 MB / 1.029 GB Notification: Performance of sort global known variables: time 9.1e-08/0.3995, allocations: 4 kB / 1.337 GB, free: 5.672 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000358/0.3999, allocations: 67.88 kB / 1.337 GB, free: 5.605 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.0007169/0.4006, allocations: 0.9294 MB / 1.338 GB, free: 4.648 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001877/0.4008, allocations: 88 kB / 1.338 GB, free: 4.562 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.4008, allocations: 0 / 1.338 GB, free: 4.562 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.493e-06/0.4008, allocations: 7.938 kB / 1.338 GB, free: 4.555 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000446/0.4012, allocations: 457.3 kB / 1.339 GB, free: 4.105 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002633/0.4039, allocations: 2.445 MB / 1.341 GB, free: 1.535 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001242/0.404, allocations: 131 kB / 1.341 GB, free: 1.387 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 1.838e-05/0.404, allocations: 4 kB / 1.341 GB, free: 1.383 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.938e-05/0.4041, allocations: 35.42 kB / 1.341 GB, free: 1.348 MB / 1.029 GB Notification: Performance of SimCode: time 6.31e-07/0.4041, allocations: 0 / 1.341 GB, free: 1.348 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03431/0.4384, allocations: 5.412 MB / 1.346 GB, free: 12.08 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.34/11.78, allocations: 2.25 kB / 1.346 GB, free: 12.08 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.48128130612895]