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.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.001669/0.001669, allocations: 98.08 kB / 19.73 MB, free: 2.23 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.002138/0.002138, allocations: 220.4 kB / 23.04 MB, free: 5.074 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.533/1.533, allocations: 230.6 MB / 256.8 MB, free: 7.992 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.8/2.8, allocations: 476.7 MB / 0.7714 GB, free: 4.285 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_low,fileNamePrefix="Buildings_11_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_low",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low,fileNamePrefix="Buildings_11_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.001976/0.001976, allocations: 64.45 kB / 1.118 GB, free: 39.79 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2968/0.2988, allocations: 169.9 MB / 1.284 GB, free: 11.66 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.002657/0.3015, allocations: 1.437 MB / 1.286 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002779/0.3042, allocations: 1.968 MB / 1.287 GB, free: 8.23 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.465e-05/0.3043, allocations: 0 / 1.287 GB, free: 8.23 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001062/0.3053, allocations: 402.9 kB / 1.288 GB, free: 7.836 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 4.915e-05/0.3054, allocations: 19.84 kB / 1.288 GB, free: 7.816 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 3.817e-06/0.3054, allocations: 0 / 1.288 GB, free: 7.816 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002303/0.3056, allocations: 119.2 kB / 1.288 GB, free: 7.699 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 5.031e-05/0.3057, allocations: 13.62 kB / 1.288 GB, free: 7.684 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 6.349e-05/0.3057, allocations: 43.84 kB / 1.288 GB, free: 7.641 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001446/0.3059, allocations: 67.64 kB / 1.288 GB, free: 7.574 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.6e-05/0.3059, allocations: 4 kB / 1.288 GB, free: 7.57 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00047/0.3064, allocations: 183.9 kB / 1.288 GB, free: 7.391 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 4.919e-05/0.3064, allocations: 31.84 kB / 1.288 GB, free: 7.359 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 9.282e-05/0.3065, allocations: 67.61 kB / 1.288 GB, free: 7.293 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0004766/0.307, allocations: 290.3 kB / 1.289 GB, free: 7.012 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 7.184e-06/0.307, allocations: 3.984 kB / 1.289 GB, free: 7.008 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.452e-06/0.307, allocations: 0 / 1.289 GB, free: 7.008 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.36e-06/0.307, allocations: 0 / 1.289 GB, free: 7.008 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.0007204/0.3077, allocations: 421.2 kB / 1.289 GB, free: 6.566 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.3078, allocations: 12.03 kB / 1.289 GB, free: 6.555 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.549e-05/0.3078, allocations: 75.47 kB / 1.289 GB, free: 6.48 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.694e-05/0.3079, allocations: 106 kB / 1.289 GB, free: 6.367 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001791/0.308, allocations: 100.1 kB / 1.289 GB, free: 6.27 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002331/0.3083, allocations: 233.1 kB / 1.29 GB, free: 6.02 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.72e-05/0.3083, allocations: 158.9 kB / 1.29 GB, free: 5.863 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.364e-05/0.3084, allocations: 166.6 kB / 1.29 GB, free: 5.699 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.754e-05/0.3085, allocations: 101 kB / 1.29 GB, free: 5.594 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.506e-05/0.3085, allocations: 75.28 kB / 1.29 GB, free: 5.52 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.646e-05/0.3086, allocations: 154.6 kB / 1.29 GB, free: 5.367 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.309e-05/0.3087, allocations: 150.6 kB / 1.29 GB, free: 5.219 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.972e-05/0.3087, allocations: 158.6 kB / 1.29 GB, free: 5.062 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003716/0.3091, allocations: 492.7 kB / 1.291 GB, free: 4.539 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 9.267e-05/0.3092, allocations: 173.1 kB / 1.291 GB, free: 4.359 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.841e-05/0.3092, allocations: 84.08 kB / 1.291 GB, free: 4.273 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.741e-05/0.3093, allocations: 79.28 kB / 1.291 GB, free: 4.195 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.061e-05/0.3093, allocations: 105.8 kB / 1.291 GB, free: 4.082 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=0): time 9.52e-07/0.3093, allocations: 0 / 1.291 GB, free: 4.082 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0): time 0.000166/0.3095, allocations: 49.59 kB / 1.291 GB, free: 4.027 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.695e-05/0.3096, allocations: 130.6 kB / 1.292 GB, free: 3.887 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003373/0.3099, allocations: 325.7 kB / 1.292 GB, free: 3.555 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.677e-05/0.3099, allocations: 25.7 kB / 1.292 GB, free: 3.523 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.265e-05/0.31, allocations: 124.5 kB / 1.292 GB, free: 3.398 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.334e-06/0.31, allocations: 0 / 1.292 GB, free: 3.398 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.001e-05/0.3101, allocations: 57.69 kB / 1.292 GB, free: 3.336 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001543/0.3102, allocations: 338.8 kB / 1.292 GB, free: 2.996 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.501e-05/0.3103, allocations: 59.95 kB / 1.292 GB, free: 2.938 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001316/0.3105, allocations: 122 kB / 1.293 GB, free: 2.797 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002414/0.3107, allocations: 213.8 kB / 1.293 GB, free: 2.566 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.3107, allocations: 0 / 1.293 GB, free: 2.566 MB / 0.9825 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004153/0.3111, allocations: 233.3 kB / 1.293 GB, free: 2.332 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.069e-05/0.3111, allocations: 8 kB / 1.293 GB, free: 2.324 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.027e-06/0.3112, allocations: 3.984 kB / 1.293 GB, free: 2.32 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.537e-05/0.3112, allocations: 4 kB / 1.293 GB, free: 2.316 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.312e-06/0.3112, allocations: 224 / 1.293 GB, free: 2.316 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.241e-05/0.3112, allocations: 11.94 kB / 1.293 GB, free: 2.305 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001224/0.3113, allocations: 31.72 kB / 1.293 GB, free: 2.273 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.099e-05/0.3113, allocations: 4 kB / 1.293 GB, free: 2.27 MB / 0.9825 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.0002279/0.3115, allocations: 229 kB / 1.293 GB, free: 2.035 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.981e-05/0.3116, allocations: 116.8 kB / 1.293 GB, free: 1.914 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.07e-05/0.3117, allocations: 117.7 kB / 1.293 GB, free: 1.789 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.71e-05/0.3118, allocations: 180.3 kB / 1.294 GB, free: 1.605 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.948e-05/0.3119, allocations: 196.1 kB / 1.294 GB, free: 1.406 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.442e-05/0.3119, allocations: 176.3 kB / 1.294 GB, free: 1.227 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003099/0.3122, allocations: 424.2 kB / 1.294 GB, free: 0.7617 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.307e-05/0.3123, allocations: 104.9 kB / 1.294 GB, free: 0.6523 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.2e-05/0.3123, allocations: 109 kB / 1.295 GB, free: 0.5391 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.106e-05/0.3124, allocations: 180.2 kB / 1.295 GB, free: 364 kB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.469e-05/0.3125, allocations: 176.3 kB / 1.295 GB, free: 180 kB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.826e-05/0.3126, allocations: 188.3 kB / 1.295 GB, free: 15.98 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.845e-05/0.3127, allocations: 184.2 kB / 1.295 GB, free: 15.8 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001741/0.3128, allocations: 323.6 kB / 1.296 GB, free: 15.46 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.212e-05/0.3129, allocations: 120.9 kB / 1.296 GB, free: 15.33 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001052/0.313, allocations: 184.2 kB / 1.296 GB, free: 15.14 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001274/0.3132, allocations: 101 kB / 1.296 GB, free: 15.04 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.97e-05/0.3132, allocations: 176.3 kB / 1.296 GB, free: 14.86 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.736e-05/0.3133, allocations: 112.9 kB / 1.296 GB, free: 14.74 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002289/0.3135, allocations: 213.2 kB / 1.296 GB, free: 14.54 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9e-08/0.3135, allocations: 0 / 1.296 GB, free: 14.54 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003684/0.3139, allocations: 67.92 kB / 1.297 GB, free: 14.47 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.0006908/0.3146, allocations: 0.926 MB / 1.297 GB, free: 13.52 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001814/0.3147, allocations: 83.83 kB / 1.297 GB, free: 13.44 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.3148, allocations: 0 / 1.297 GB, free: 13.44 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 1.473e-06/0.3148, allocations: 448 / 1.297 GB, free: 13.44 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004259/0.3152, allocations: 472.1 kB / 1.298 GB, free: 12.98 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002598/0.3178, allocations: 2.436 MB / 1.3 GB, free: 10.41 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003763/0.3182, allocations: 0.7391 MB / 1.301 GB, free: 9.648 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 1.685e-05/0.3182, allocations: 7.984 kB / 1.301 GB, free: 9.641 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.796e-05/0.3182, allocations: 31.42 kB / 1.301 GB, free: 9.609 MB / 0.9981 GB Notification: Performance of SimCode: time 5.61e-07/0.3182, allocations: 0 / 1.301 GB, free: 9.609 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02566/0.3439, allocations: 4.987 MB / 1.306 GB, free: 4.781 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.42/11.77, allocations: 5.219 kB / 1.306 GB, free: 4.781 MB / 0.9981 GB " [Timeout remaining time 288] (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 --stepSize=0.0004 --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/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: 18.607532266993076]