Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.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.001298/0.001298, allocations: 114.7 kB / 17.6 MB, free: 4.699 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.001287/0.001287, allocations: 186 kB / 20.78 MB, free: 1.539 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.503/1.503, allocations: 225.6 MB / 249.4 MB, free: 3.164 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.799/2.799, allocations: 476.7 MB / 0.7629 GB, free: 15.14 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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.Electrical.Transmission.Functions.Validation.SelectCable_low,fileNamePrefix="Buildings_11_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_low",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low,fileNamePrefix="Buildings_11_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_low",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002047/0.002047, allocations: 79.88 kB / 1.107 GB, free: 5.105 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8985/0.9006, allocations: 168.7 MB / 1.271 GB, free: 7.707 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.002663/0.9032, allocations: 1.415 MB / 1.273 GB, free: 6.738 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.002202/0.9054, allocations: 1.97 MB / 1.275 GB, free: 5.387 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.374e-05/0.9055, allocations: 0 / 1.275 GB, free: 5.387 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0009678/0.9064, allocations: 392.8 kB / 1.275 GB, free: 5.18 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 4.721e-05/0.9065, allocations: 17.66 kB / 1.275 GB, free: 5.172 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 3.536e-06/0.9065, allocations: 0 / 1.275 GB, free: 5.172 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0002138/0.9067, allocations: 132.3 kB / 1.275 GB, free: 5.105 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.435e-05/0.9068, allocations: 12.7 kB / 1.275 GB, free: 5.098 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.246e-05/0.9068, allocations: 36.55 kB / 1.275 GB, free: 5.09 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000127/0.9069, allocations: 63.5 kB / 1.275 GB, free: 5.066 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.73e-05/0.907, allocations: 6.781 kB / 1.275 GB, free: 5.062 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005288/0.9075, allocations: 182.5 kB / 1.276 GB, free: 5.035 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 5.004e-05/0.9075, allocations: 35.61 kB / 1.276 GB, free: 5.02 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 8.179e-05/0.9076, allocations: 72.12 kB / 1.276 GB, free: 4.984 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004468/0.9081, allocations: 289.8 kB / 1.276 GB, free: 4.871 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.9081, allocations: 0 / 1.276 GB, free: 4.871 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.022e-06/0.9081, allocations: 4 kB / 1.276 GB, free: 4.867 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.911e-06/0.9081, allocations: 1.031 kB / 1.276 GB, free: 4.867 MB / 0.9981 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.000628/0.9087, allocations: 494.2 kB / 1.276 GB, free: 4.43 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.228e-05/0.9087, allocations: 9.531 kB / 1.276 GB, free: 4.43 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.75e-05/0.9088, allocations: 110.9 kB / 1.277 GB, free: 4.312 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001481/0.9089, allocations: 99.75 kB / 1.277 GB, free: 4.227 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000176/0.9091, allocations: 291.4 kB / 1.277 GB, free: 3.934 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.109e-05/0.9091, allocations: 155.6 kB / 1.277 GB, free: 3.781 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.226e-05/0.9092, allocations: 159.4 kB / 1.277 GB, free: 3.629 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.132e-05/0.9092, allocations: 104.9 kB / 1.277 GB, free: 3.52 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.539e-05/0.9092, allocations: 76.34 kB / 1.277 GB, free: 3.445 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.389e-05/0.9092, allocations: 154.5 kB / 1.278 GB, free: 3.293 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.159e-05/0.9093, allocations: 155.6 kB / 1.278 GB, free: 3.141 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.143e-05/0.9093, allocations: 154.5 kB / 1.278 GB, free: 2.988 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002582/0.9095, allocations: 0.5017 MB / 1.278 GB, free: 2.484 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 5.03e-05/0.9096, allocations: 170 kB / 1.279 GB, free: 2.309 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.685e-05/0.9096, allocations: 84.14 kB / 1.279 GB, free: 2.223 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.742e-05/0.9096, allocations: 80.28 kB / 1.279 GB, free: 2.145 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.51e-05/0.9097, allocations: 114.4 kB / 1.279 GB, free: 2.023 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=0): time 8.32e-07/0.9097, allocations: 0.9375 kB / 1.279 GB, free: 2.023 MB / 0.9981 GB Notification: Performance of matching and sorting (n=0): time 0.0001727/0.9098, allocations: 50.16 kB / 1.279 GB, free: 1.98 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.036e-05/0.9099, allocations: 127.5 kB / 1.279 GB, free: 1.844 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003345/0.9102, allocations: 328.1 kB / 1.279 GB, free: 1.668 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.049e-05/0.9102, allocations: 26.52 kB / 1.279 GB, free: 1.637 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 5.373e-05/0.9103, allocations: 116 kB / 1.279 GB, free: 1.531 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.464e-06/0.9103, allocations: 0 / 1.279 GB, free: 1.531 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.77e-05/0.9103, allocations: 61.88 kB / 1.279 GB, free: 1.5 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.638e-05/0.9104, allocations: 331.4 kB / 1.28 GB, free: 1.18 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.119e-05/0.9105, allocations: 62.41 kB / 1.28 GB, free: 1.16 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001151/0.9106, allocations: 126.8 kB / 1.28 GB, free: 1.07 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002163/0.9108, allocations: 206.5 kB / 1.28 GB, free: 0.9609 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.716e-06/0.9108, allocations: 0.6562 kB / 1.28 GB, free: 0.9609 MB / 0.9981 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004031/0.9112, allocations: 238.2 kB / 1.28 GB, free: 0.8555 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.803e-05/0.9112, allocations: 9.75 kB / 1.28 GB, free: 0.8555 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.9112, allocations: 6 kB / 1.28 GB, free: 0.8516 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.678e-05/0.9113, allocations: 5.688 kB / 1.28 GB, free: 0.8477 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.613e-06/0.9113, allocations: 1.844 kB / 1.28 GB, free: 0.8477 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.9113, allocations: 2.688 kB / 1.28 GB, free: 0.8477 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001157/0.9114, allocations: 34.05 kB / 1.28 GB, free: 0.8203 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.123e-05/0.9114, allocations: 3.531 kB / 1.28 GB, free: 0.8203 MB / 0.9981 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.0001964/0.9116, allocations: 224.6 kB / 1.281 GB, free: 0.625 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.501e-05/0.9116, allocations: 130.9 kB / 1.281 GB, free: 0.4961 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.74e-05/0.9117, allocations: 110.2 kB / 1.281 GB, free: 16.38 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.598e-05/0.9118, allocations: 183.8 kB / 1.281 GB, free: 16.2 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.252e-05/0.9119, allocations: 185.1 kB / 1.281 GB, free: 16.01 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.606e-05/0.912, allocations: 178.1 kB / 1.281 GB, free: 15.83 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002885/0.9123, allocations: 458.4 kB / 1.282 GB, free: 15.36 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.323e-05/0.9123, allocations: 105.9 kB / 1.282 GB, free: 15.25 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.42e-05/0.9124, allocations: 105.7 kB / 1.282 GB, free: 15.14 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.971e-05/0.9125, allocations: 177.1 kB / 1.282 GB, free: 14.96 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.445e-05/0.9125, allocations: 181.2 kB / 1.282 GB, free: 14.78 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.113e-05/0.9126, allocations: 181.7 kB / 1.283 GB, free: 14.6 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.418e-05/0.9127, allocations: 185.9 kB / 1.283 GB, free: 14.41 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001674/0.9129, allocations: 319 kB / 1.283 GB, free: 14.09 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001169/0.913, allocations: 207.1 kB / 1.283 GB, free: 13.87 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001044/0.9131, allocations: 181.9 kB / 1.283 GB, free: 13.68 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000131/0.9132, allocations: 101.8 kB / 1.284 GB, free: 13.58 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.185e-05/0.9133, allocations: 187.5 kB / 1.284 GB, free: 13.39 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.51e-05/0.9134, allocations: 101.9 kB / 1.284 GB, free: 13.29 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0002099/0.9136, allocations: 215.3 kB / 1.284 GB, free: 13.18 MB / 1.014 GB Notification: Performance of sort global known variables: time 8e-08/0.9136, allocations: 0 / 1.284 GB, free: 13.18 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0003844/0.9139, allocations: 64.73 kB / 1.284 GB, free: 13.17 MB / 1.014 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.0006572/0.9146, allocations: 0.9202 MB / 1.285 GB, free: 12.31 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0001661/0.9148, allocations: 89.14 kB / 1.285 GB, free: 12.28 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 6.332e-06/0.9148, allocations: 0.9062 kB / 1.285 GB, free: 12.28 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 1.252e-06/0.9148, allocations: 0 / 1.285 GB, free: 12.28 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004208/0.9152, allocations: 466.2 kB / 1.285 GB, free: 11.82 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002785/0.918, allocations: 2.456 MB / 1.288 GB, free: 10.05 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000531/0.9185, allocations: 0.7433 MB / 1.289 GB, free: 9.352 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 1.7e-05/0.9185, allocations: 0.6562 kB / 1.289 GB, free: 9.352 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.161e-05/0.9186, allocations: 34.22 kB / 1.289 GB, free: 9.324 MB / 1.014 GB Notification: Performance of SimCode: time 4.6e-07/0.9186, allocations: 4 kB / 1.289 GB, free: 9.32 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02995/0.9485, allocations: 4.838 MB / 1.293 GB, free: 8.625 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.234/9.183, allocations: 11.8 kB / 1.293 GB, free: 8.621 MB / 1.014 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; mkfifo Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe >> ../files/Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low_res.mat --tempDir=temp_Buildings_11_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_low_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_low.fmu > Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_Transmission_Functions_Validation_SelectCable_low.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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: 15.23401252599433]