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.001311/0.001311, allocations: 101.3 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.001736/0.001736, allocations: 218.7 kB / 23.03 MB, free: 4.949 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.543/1.543, allocations: 230.6 MB / 256.8 MB, free: 7.789 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.869/2.869, allocations: 476.8 MB / 0.7715 GB, free: 3.902 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.001985/0.001985, allocations: 65.98 kB / 1.118 GB, free: 39.69 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3135/0.3155, allocations: 170 MB / 1.284 GB, free: 10.69 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.002781/0.3183, allocations: 1.417 MB / 1.285 GB, free: 9.254 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002419/0.3207, allocations: 1.762 MB / 1.287 GB, free: 7.488 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.037e-05/0.3208, allocations: 3.938 kB / 1.287 GB, free: 7.484 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001016/0.3218, allocations: 347.2 kB / 1.288 GB, free: 7.145 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.437e-05/0.3218, allocations: 23.84 kB / 1.288 GB, free: 7.121 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 4.248e-06/0.3218, allocations: 4 kB / 1.288 GB, free: 7.117 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002417/0.3221, allocations: 127.1 kB / 1.288 GB, free: 6.992 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 5.123e-05/0.3221, allocations: 7.094 kB / 1.288 GB, free: 6.984 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 6.192e-05/0.3222, allocations: 43.86 kB / 1.288 GB, free: 6.941 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001253/0.3223, allocations: 63.7 kB / 1.288 GB, free: 6.879 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.455e-05/0.3223, allocations: 0 / 1.288 GB, free: 6.879 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003913/0.3227, allocations: 183.9 kB / 1.288 GB, free: 6.699 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 5.568e-05/0.3228, allocations: 39.81 kB / 1.288 GB, free: 6.66 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 8.431e-05/0.3229, allocations: 51.69 kB / 1.288 GB, free: 6.609 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.000481/0.3233, allocations: 298.2 kB / 1.288 GB, free: 6.32 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.3233, allocations: 0 / 1.288 GB, free: 6.32 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.322e-06/0.3233, allocations: 0 / 1.288 GB, free: 6.32 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.869e-06/0.3233, allocations: 0 / 1.288 GB, free: 6.32 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.0007212/0.3241, allocations: 421.2 kB / 1.289 GB, free: 5.879 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.025e-05/0.3241, allocations: 8.031 kB / 1.289 GB, free: 5.871 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.837e-05/0.3242, allocations: 83.47 kB / 1.289 GB, free: 5.789 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.879e-05/0.3242, allocations: 106 kB / 1.289 GB, free: 5.676 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001709/0.3244, allocations: 96.08 kB / 1.289 GB, free: 5.582 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002238/0.3246, allocations: 237.1 kB / 1.289 GB, free: 5.328 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.139e-05/0.3247, allocations: 154.9 kB / 1.289 GB, free: 5.176 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.73e-05/0.3247, allocations: 154.7 kB / 1.29 GB, free: 5.023 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.417e-05/0.3248, allocations: 108.9 kB / 1.29 GB, free: 4.91 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.516e-05/0.3249, allocations: 79.28 kB / 1.29 GB, free: 4.832 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.297e-05/0.3249, allocations: 150.6 kB / 1.29 GB, free: 4.684 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.258e-05/0.325, allocations: 154.6 kB / 1.29 GB, free: 4.531 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.711e-05/0.325, allocations: 150.6 kB / 1.29 GB, free: 4.383 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003741/0.3254, allocations: 488.8 kB / 1.291 GB, free: 3.863 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001052/0.3255, allocations: 177.1 kB / 1.291 GB, free: 3.68 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.82e-05/0.3256, allocations: 84.08 kB / 1.291 GB, free: 3.594 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.385e-05/0.3256, allocations: 75.28 kB / 1.291 GB, free: 3.52 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.856e-05/0.3257, allocations: 109.8 kB / 1.291 GB, free: 3.402 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=0): time 9.02e-07/0.3257, allocations: 0 / 1.291 GB, free: 3.402 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0): time 0.0001718/0.3258, allocations: 41.61 kB / 1.291 GB, free: 3.355 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.84e-05/0.3259, allocations: 138.6 kB / 1.291 GB, free: 3.207 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003474/0.3263, allocations: 321.6 kB / 1.291 GB, free: 2.879 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.66e-05/0.3263, allocations: 25.7 kB / 1.292 GB, free: 2.848 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.976e-05/0.3264, allocations: 132.4 kB / 1.292 GB, free: 2.715 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.124e-06/0.3264, allocations: 0 / 1.292 GB, free: 2.715 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.193e-05/0.3264, allocations: 65.62 kB / 1.292 GB, free: 2.645 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001558/0.3266, allocations: 330.8 kB / 1.292 GB, free: 2.312 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.586e-05/0.3267, allocations: 55.97 kB / 1.292 GB, free: 2.258 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001294/0.3268, allocations: 122 kB / 1.292 GB, free: 2.117 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002751/0.3271, allocations: 213.8 kB / 1.292 GB, free: 1.887 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.3271, allocations: 0 / 1.292 GB, free: 1.887 MB / 0.9825 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004363/0.3275, allocations: 237.3 kB / 1.293 GB, free: 1.648 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.903e-05/0.3275, allocations: 8 kB / 1.293 GB, free: 1.641 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.142e-06/0.3275, allocations: 224 / 1.293 GB, free: 1.641 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.491e-05/0.3276, allocations: 8 kB / 1.293 GB, free: 1.633 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.213e-06/0.3276, allocations: 0 / 1.293 GB, free: 1.633 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.175e-05/0.3276, allocations: 11.92 kB / 1.293 GB, free: 1.621 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000118/0.3277, allocations: 23.73 kB / 1.293 GB, free: 1.598 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.08e-05/0.3277, allocations: 4 kB / 1.293 GB, free: 1.594 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.000225/0.3279, allocations: 226.4 kB / 1.293 GB, free: 1.363 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.452e-05/0.328, allocations: 124.8 kB / 1.293 GB, free: 1.234 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.325e-05/0.3281, allocations: 109.7 kB / 1.293 GB, free: 1.117 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.177e-05/0.3281, allocations: 184.3 kB / 1.293 GB, free: 0.9297 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.654e-05/0.3282, allocations: 188.2 kB / 1.293 GB, free: 0.7383 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.583e-05/0.3283, allocations: 180.3 kB / 1.294 GB, free: 0.5547 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002926/0.3286, allocations: 420.2 kB / 1.294 GB, free: 96 kB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.864e-05/0.3287, allocations: 104.9 kB / 1.294 GB, free: 15.98 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.865e-05/0.3287, allocations: 101 kB / 1.294 GB, free: 15.88 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.672e-05/0.3288, allocations: 184.2 kB / 1.294 GB, free: 15.69 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.968e-05/0.3289, allocations: 180.2 kB / 1.295 GB, free: 15.51 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.097e-05/0.3289, allocations: 188.3 kB / 1.295 GB, free: 15.32 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.381e-05/0.329, allocations: 180.2 kB / 1.295 GB, free: 15.13 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000178/0.3292, allocations: 327.5 kB / 1.295 GB, free: 14.79 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.948e-05/0.3293, allocations: 116.9 kB / 1.295 GB, free: 14.67 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001016/0.3294, allocations: 180.3 kB / 1.296 GB, free: 14.48 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001358/0.3295, allocations: 112.9 kB / 1.296 GB, free: 14.37 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.166e-05/0.3296, allocations: 176.3 kB / 1.296 GB, free: 14.19 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.559e-05/0.3296, allocations: 108.9 kB / 1.296 GB, free: 14.07 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002137/0.3298, allocations: 213.2 kB / 1.296 GB, free: 13.87 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1e-07/0.3298, allocations: 3.938 kB / 1.296 GB, free: 13.87 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003736/0.3302, allocations: 71.86 kB / 1.296 GB, free: 13.8 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.0006926/0.3309, allocations: 0.9298 MB / 1.297 GB, free: 12.84 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001718/0.3311, allocations: 79.89 kB / 1.297 GB, free: 12.76 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.3311, allocations: 0 / 1.297 GB, free: 12.76 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 3.767e-06/0.3311, allocations: 3.938 kB / 1.297 GB, free: 12.76 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004333/0.3315, allocations: 466.5 kB / 1.298 GB, free: 12.3 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002649/0.3342, allocations: 2.442 MB / 1.3 GB, free: 9.73 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001205/0.3343, allocations: 130.7 kB / 1.3 GB, free: 9.586 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 1.49e-05/0.3343, allocations: 4 kB / 1.3 GB, free: 9.582 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.637e-05/0.3344, allocations: 31.42 kB / 1.3 GB, free: 9.551 MB / 0.9981 GB Notification: Performance of SimCode: time 6.91e-07/0.3344, allocations: 0 / 1.3 GB, free: 9.551 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02721/0.3616, allocations: 5.064 MB / 1.305 GB, free: 4.645 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.92/12.28, allocations: 9.312 kB / 1.305 GB, free: 4.641 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: 19.179783975007012]