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.001389/0.001389, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001893/0.001893, allocations: 216.1 kB / 22.25 MB, free: 5.078 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.62/1.62, allocations: 230.6 MB / 256 MB, free: 7.988 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.962/2.962, allocations: 476.7 MB / 0.7707 GB, free: 4.211 MB / 0.6231 GB " [Timeout remaining time 176] 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="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: 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.002039/0.002039, allocations: 66.28 kB / 1.117 GB, free: 40.33 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2988/0.3009, allocations: 169.9 MB / 1.283 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.002769/0.3036, allocations: 1.435 MB / 1.285 GB, free: 10.26 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002576/0.3062, allocations: 1.968 MB / 1.287 GB, free: 8.289 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.775e-05/0.3062, allocations: 0 / 1.287 GB, free: 8.289 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001004/0.3072, allocations: 400.9 kB / 1.287 GB, free: 7.898 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 4.69e-05/0.3073, allocations: 15.86 kB / 1.287 GB, free: 7.883 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 3.848e-06/0.3073, allocations: 4 kB / 1.287 GB, free: 7.879 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002212/0.3075, allocations: 131.1 kB / 1.287 GB, free: 7.75 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.595e-05/0.3075, allocations: 5.688 kB / 1.287 GB, free: 7.742 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 7.345e-05/0.3076, allocations: 47.78 kB / 1.287 GB, free: 7.695 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000129/0.3077, allocations: 59.72 kB / 1.287 GB, free: 7.637 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.602e-05/0.3078, allocations: 4 kB / 1.287 GB, free: 7.633 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004983/0.3083, allocations: 183.9 kB / 1.287 GB, free: 7.453 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 4.789e-05/0.3083, allocations: 31.89 kB / 1.288 GB, free: 7.422 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 8.235e-05/0.3084, allocations: 67.56 kB / 1.288 GB, free: 7.355 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.000451/0.3088, allocations: 298.2 kB / 1.288 GB, free: 7.066 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.185e-06/0.3088, allocations: 0 / 1.288 GB, free: 7.066 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.062e-06/0.3088, allocations: 0 / 1.288 GB, free: 7.066 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 9.318e-06/0.3089, allocations: 0 / 1.288 GB, free: 7.066 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.0007007/0.3096, allocations: 421.2 kB / 1.288 GB, free: 6.625 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.777e-05/0.3096, allocations: 12.03 kB / 1.288 GB, free: 6.613 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.037e-05/0.3097, allocations: 106 kB / 1.288 GB, free: 6.5 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001642/0.3098, allocations: 100.1 kB / 1.288 GB, free: 6.402 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002168/0.31, allocations: 233.1 kB / 1.289 GB, free: 6.152 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.956e-05/0.3101, allocations: 154.9 kB / 1.289 GB, free: 6 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.491e-05/0.3102, allocations: 154.9 kB / 1.289 GB, free: 5.848 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.356e-05/0.3103, allocations: 108.9 kB / 1.289 GB, free: 5.734 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.352e-05/0.3103, allocations: 75.28 kB / 1.289 GB, free: 5.66 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.834e-05/0.3104, allocations: 154.6 kB / 1.289 GB, free: 5.508 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.882e-05/0.3104, allocations: 150.6 kB / 1.289 GB, free: 5.359 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.321e-05/0.3105, allocations: 158.6 kB / 1.29 GB, free: 5.203 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003768/0.3109, allocations: 488.7 kB / 1.29 GB, free: 4.684 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001026/0.311, allocations: 181.1 kB / 1.29 GB, free: 4.496 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.411e-05/0.311, allocations: 80.14 kB / 1.29 GB, free: 4.414 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.45e-05/0.311, allocations: 79.22 kB / 1.29 GB, free: 4.336 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.146e-05/0.3111, allocations: 105.8 kB / 1.291 GB, free: 4.223 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=0): time 8.01e-07/0.3111, allocations: 0 / 1.291 GB, free: 4.223 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0): time 0.0001711/0.3113, allocations: 45.61 kB / 1.291 GB, free: 4.172 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.52e-05/0.3113, allocations: 134.7 kB / 1.291 GB, free: 4.027 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003477/0.3117, allocations: 321.6 kB / 1.291 GB, free: 3.703 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.863e-05/0.3117, allocations: 29.7 kB / 1.291 GB, free: 3.668 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 9.478e-05/0.3118, allocations: 116.4 kB / 1.291 GB, free: 3.551 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.444e-06/0.3118, allocations: 0 / 1.291 GB, free: 3.551 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.674e-05/0.3119, allocations: 65.62 kB / 1.291 GB, free: 3.48 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001522/0.312, allocations: 334.8 kB / 1.292 GB, free: 3.145 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.941e-05/0.3121, allocations: 59.97 kB / 1.292 GB, free: 3.086 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001364/0.3123, allocations: 122 kB / 1.292 GB, free: 2.945 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002564/0.3125, allocations: 217.8 kB / 1.292 GB, free: 2.711 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.3125, allocations: 3.938 kB / 1.292 GB, free: 2.707 MB / 0.9825 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.000444/0.313, allocations: 237.3 kB / 1.292 GB, free: 2.469 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.362e-05/0.313, allocations: 4 kB / 1.292 GB, free: 2.465 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.675e-06/0.313, allocations: 4 kB / 1.292 GB, free: 2.461 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.196e-05/0.313, allocations: 0 / 1.292 GB, free: 2.461 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.356e-06/0.313, allocations: 4 kB / 1.292 GB, free: 2.457 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.963e-06/0.313, allocations: 4.062 kB / 1.292 GB, free: 2.453 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001245/0.3131, allocations: 31.73 kB / 1.292 GB, free: 2.422 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.216e-05/0.3131, allocations: 7.984 kB / 1.292 GB, free: 2.414 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.0002358/0.3134, allocations: 233.2 kB / 1.292 GB, free: 2.176 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.852e-05/0.3135, allocations: 120.8 kB / 1.293 GB, free: 2.051 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.529e-05/0.3135, allocations: 113.7 kB / 1.293 GB, free: 1.93 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.869e-05/0.3136, allocations: 176.3 kB / 1.293 GB, free: 1.75 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.226e-05/0.3137, allocations: 184.2 kB / 1.293 GB, free: 1.562 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.29e-05/0.3138, allocations: 184.2 kB / 1.293 GB, free: 1.375 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003062/0.3141, allocations: 424.3 kB / 1.294 GB, free: 0.9102 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.197e-05/0.3141, allocations: 112.8 kB / 1.294 GB, free: 0.793 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.469e-05/0.3142, allocations: 101 kB / 1.294 GB, free: 0.6875 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.153e-05/0.3143, allocations: 180.3 kB / 1.294 GB, free: 0.5039 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.198e-05/0.3143, allocations: 180.2 kB / 1.294 GB, free: 328 kB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.751e-05/0.3144, allocations: 180.3 kB / 1.294 GB, free: 140 kB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.482e-05/0.3145, allocations: 188.2 kB / 1.294 GB, free: 15.95 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001796/0.3147, allocations: 323.7 kB / 1.295 GB, free: 15.61 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.521e-05/0.3148, allocations: 128.8 kB / 1.295 GB, free: 15.47 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000102/0.3149, allocations: 176.3 kB / 1.295 GB, free: 15.29 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001393/0.315, allocations: 112.9 kB / 1.295 GB, free: 15.18 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.84e-05/0.3151, allocations: 176.3 kB / 1.295 GB, free: 15 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.803e-05/0.3151, allocations: 101 kB / 1.295 GB, free: 14.89 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002311/0.3154, allocations: 221.1 kB / 1.296 GB, free: 14.68 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9e-08/0.3154, allocations: 0 / 1.296 GB, free: 14.68 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003763/0.3157, allocations: 63.94 kB / 1.296 GB, free: 14.61 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.0007015/0.3165, allocations: 0.9244 MB / 1.297 GB, free: 13.66 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001818/0.3166, allocations: 91.81 kB / 1.297 GB, free: 13.57 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.3166, allocations: 0 / 1.297 GB, free: 13.57 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 1.623e-06/0.3166, allocations: 0 / 1.297 GB, free: 13.57 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004423/0.3171, allocations: 464.1 kB / 1.297 GB, free: 13.12 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002658/0.3197, allocations: 2.434 MB / 1.299 GB, free: 10.55 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003914/0.3201, allocations: 0.7392 MB / 1.3 GB, free: 9.789 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 1.732e-05/0.3201, allocations: 4 kB / 1.3 GB, free: 9.785 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.697e-05/0.3202, allocations: 35.42 kB / 1.3 GB, free: 9.75 MB / 0.9981 GB Notification: Performance of SimCode: time 5.01e-07/0.3202, allocations: 4 kB / 1.3 GB, free: 9.746 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0327/0.3529, allocations: 4.938 MB / 1.305 GB, free: 4.953 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.29/11.64, allocations: 23.81 kB / 1.305 GB, free: 4.934 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.497981013031676]