Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.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.001308/0.001308, allocations: 97.92 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.001599/0.001599, allocations: 219.8 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.489/1.489, allocations: 230.6 MB / 256.8 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.795/2.795, allocations: 476.8 MB / 0.7715 GB, free: 3.883 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_med,fileNamePrefix="Buildings_11_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med,fileNamePrefix="Buildings_11_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med",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.002026/0.002026, allocations: 64.55 kB / 1.118 GB, free: 39.65 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3083/0.3104, allocations: 170 MB / 1.284 GB, free: 10.65 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.002866/0.3132, allocations: 1.429 MB / 1.285 GB, free: 9.211 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.003488/0.3167, allocations: 2.402 MB / 1.288 GB, free: 6.805 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.478e-05/0.3168, allocations: 0 / 1.288 GB, free: 6.805 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001708/0.3185, allocations: 0.5536 MB / 1.288 GB, free: 6.254 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.183e-05/0.3185, allocations: 15.91 kB / 1.288 GB, free: 6.238 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 4.388e-06/0.3185, allocations: 4 kB / 1.288 GB, free: 6.234 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.000289/0.3188, allocations: 162.9 kB / 1.289 GB, free: 6.074 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 5.936e-05/0.3189, allocations: 8.594 kB / 1.289 GB, free: 6.066 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 8.291e-05/0.319, allocations: 63.72 kB / 1.289 GB, free: 6.004 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001582/0.3191, allocations: 79.58 kB / 1.289 GB, free: 5.926 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.325e-05/0.3191, allocations: 0 / 1.289 GB, free: 5.926 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001017/0.3202, allocations: 415.5 kB / 1.289 GB, free: 5.52 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 6.602e-05/0.3202, allocations: 35.78 kB / 1.289 GB, free: 5.484 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001091/0.3203, allocations: 79.55 kB / 1.289 GB, free: 5.406 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0007605/0.3211, allocations: 438.1 kB / 1.29 GB, free: 4.977 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.3211, allocations: 0 / 1.29 GB, free: 4.977 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.683e-06/0.3211, allocations: 3.938 kB / 1.29 GB, free: 4.973 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.042e-05/0.3211, allocations: 4 kB / 1.29 GB, free: 4.969 MB / 0.9825 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.0008265/0.3219, allocations: 488.8 kB / 1.29 GB, free: 4.457 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.808e-05/0.322, allocations: 8.031 kB / 1.29 GB, free: 4.449 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.919e-05/0.322, allocations: 75.47 kB / 1.29 GB, free: 4.375 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.632e-05/0.3221, allocations: 110 kB / 1.29 GB, free: 4.258 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001743/0.3223, allocations: 104 kB / 1.29 GB, free: 4.156 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002632/0.3225, allocations: 252.5 kB / 1.291 GB, free: 3.883 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.975e-05/0.3226, allocations: 158.9 kB / 1.291 GB, free: 3.727 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.011e-05/0.3227, allocations: 154.9 kB / 1.291 GB, free: 3.574 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.903e-05/0.3227, allocations: 113.3 kB / 1.291 GB, free: 3.457 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.091e-05/0.3228, allocations: 75.28 kB / 1.291 GB, free: 3.383 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.315e-05/0.3228, allocations: 150.6 kB / 1.291 GB, free: 3.234 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.731e-05/0.3229, allocations: 150.6 kB / 1.291 GB, free: 3.086 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.395e-05/0.323, allocations: 158.5 kB / 1.292 GB, free: 2.93 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004139/0.3234, allocations: 0.5046 MB / 1.292 GB, free: 2.383 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001045/0.3235, allocations: 165.1 kB / 1.292 GB, free: 2.211 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.065e-05/0.3235, allocations: 80.14 kB / 1.292 GB, free: 2.129 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.68e-05/0.3236, allocations: 75.28 kB / 1.292 GB, free: 2.055 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.471e-05/0.3236, allocations: 113.8 kB / 1.292 GB, free: 1.934 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=0): time 1.162e-06/0.3236, allocations: 4 kB / 1.292 GB, free: 1.93 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0): time 0.0002064/0.3239, allocations: 57.45 kB / 1.292 GB, free: 1.867 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.465e-05/0.3239, allocations: 126.7 kB / 1.293 GB, free: 1.73 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004965/0.3244, allocations: 437.3 kB / 1.293 GB, free: 1.293 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.492e-05/0.3245, allocations: 25.7 kB / 1.293 GB, free: 1.262 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 9.804e-05/0.3246, allocations: 132.6 kB / 1.293 GB, free: 1.125 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.855e-06/0.3246, allocations: 0 / 1.293 GB, free: 1.125 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001124/0.3247, allocations: 89.67 kB / 1.293 GB, free: 1.031 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001702/0.3248, allocations: 342.8 kB / 1.294 GB, free: 0.6875 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001266/0.325, allocations: 100.6 kB / 1.294 GB, free: 0.5898 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001926/0.3252, allocations: 173.8 kB / 1.294 GB, free: 408 kB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003527/0.3255, allocations: 301.7 kB / 1.294 GB, free: 84 kB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.3255, allocations: 0 / 1.294 GB, free: 84 kB / 0.9825 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0005575/0.3261, allocations: 333 kB / 1.294 GB, free: 15.75 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.669e-05/0.3261, allocations: 7.938 kB / 1.294 GB, free: 15.74 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.046e-05/0.3261, allocations: 7.984 kB / 1.294 GB, free: 15.73 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.419e-05/0.3261, allocations: 0 / 1.294 GB, free: 15.73 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.428e-06/0.3261, allocations: 4 kB / 1.294 GB, free: 15.73 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.03e-06/0.3261, allocations: 0 / 1.294 GB, free: 15.73 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001577/0.3263, allocations: 47.52 kB / 1.295 GB, free: 15.68 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.065e-05/0.3263, allocations: 4 kB / 1.295 GB, free: 15.68 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.0002655/0.3266, allocations: 245.2 kB / 1.295 GB, free: 15.43 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.456e-05/0.3266, allocations: 124.8 kB / 1.295 GB, free: 15.3 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.327e-05/0.3267, allocations: 122.9 kB / 1.295 GB, free: 15.18 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.078e-05/0.3268, allocations: 188.1 kB / 1.295 GB, free: 14.98 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.215e-05/0.3269, allocations: 176.3 kB / 1.295 GB, free: 14.8 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.126e-05/0.327, allocations: 180.2 kB / 1.296 GB, free: 14.62 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003383/0.3273, allocations: 452.2 kB / 1.296 GB, free: 14.13 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.334e-05/0.3273, allocations: 101 kB / 1.296 GB, free: 14.02 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.097e-05/0.3274, allocations: 108.9 kB / 1.296 GB, free: 13.91 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.984e-05/0.3275, allocations: 184.2 kB / 1.296 GB, free: 13.72 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.726e-05/0.3276, allocations: 192.2 kB / 1.296 GB, free: 13.53 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.163e-05/0.3277, allocations: 176.3 kB / 1.297 GB, free: 13.35 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.001e-05/0.3277, allocations: 176.3 kB / 1.297 GB, free: 13.17 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001885/0.3279, allocations: 327.8 kB / 1.297 GB, free: 12.82 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001069/0.328, allocations: 144.7 kB / 1.297 GB, free: 12.68 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001154/0.3282, allocations: 180.3 kB / 1.297 GB, free: 12.49 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001497/0.3283, allocations: 101 kB / 1.298 GB, free: 12.39 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.699e-05/0.3284, allocations: 184.2 kB / 1.298 GB, free: 12.2 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.818e-05/0.3284, allocations: 105 kB / 1.298 GB, free: 12.09 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0003196/0.3288, allocations: 279.1 kB / 1.298 GB, free: 11.82 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3288, allocations: 4 kB / 1.298 GB, free: 11.82 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004089/0.3292, allocations: 83.88 kB / 1.298 GB, free: 11.73 MB / 0.9981 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.0007938/0.33, allocations: 0.9606 MB / 1.299 GB, free: 10.75 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002437/0.3302, allocations: 119.9 kB / 1.299 GB, free: 10.63 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.3302, allocations: 0 / 1.299 GB, free: 10.63 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 1.383e-06/0.3302, allocations: 0 / 1.299 GB, free: 10.63 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004652/0.3307, allocations: 474.3 kB / 1.3 GB, free: 10.17 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003361/0.334, allocations: 2.931 MB / 1.303 GB, free: 7.117 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001665/0.3342, allocations: 164.2 kB / 1.303 GB, free: 6.941 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 1.601e-05/0.3342, allocations: 0 / 1.303 GB, free: 6.941 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.818e-05/0.3343, allocations: 59.41 kB / 1.303 GB, free: 6.883 MB / 0.9981 GB Notification: Performance of SimCode: time 7.91e-07/0.3343, allocations: 0 / 1.303 GB, free: 6.883 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02772/0.362, allocations: 6.664 MB / 1.309 GB, free: 372 kB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.11/12.47, allocations: 11.44 kB / 1.309 GB, free: 364 kB / 0.9981 GB " [Timeout remaining time 287] (rm -f Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; mkfifo Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe >> ../files/Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med_res.mat --tempDir=temp_Buildings_11_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med.fmu > Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.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: 19.231396378949285]